@thi.ng/cellular 0.2.91 → 0.2.92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/1d.js +8 -5
- package/CHANGELOG.md +7 -1
- package/package.json +3 -3
package/1d.js
CHANGED
|
@@ -179,11 +179,14 @@ class MultiCA1D {
|
|
|
179
179
|
pixels.length >= this.width * height,
|
|
180
180
|
"target pixel buffer too small"
|
|
181
181
|
);
|
|
182
|
-
const {
|
|
183
|
-
probabilistic
|
|
184
|
-
rnd
|
|
185
|
-
|
|
186
|
-
|
|
182
|
+
const {
|
|
183
|
+
probabilistic = false,
|
|
184
|
+
rnd = SYSTEM,
|
|
185
|
+
cells,
|
|
186
|
+
mask,
|
|
187
|
+
prob,
|
|
188
|
+
onupdate
|
|
189
|
+
} = opts;
|
|
187
190
|
const $ = (id, conf) => {
|
|
188
191
|
conf && conf.perturb && rnd.probability(conf.perturb) && this.setNoise(id, conf.density || 0.05, rnd);
|
|
189
192
|
};
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2024-02-
|
|
3
|
+
- **Last updated**: 2024-02-22T23:15:26Z
|
|
4
4
|
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
5
5
|
|
|
6
6
|
All notable changes to this project will be documented in this file.
|
|
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
|
|
|
9
9
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
10
10
|
and/or version bumps of transitive dependencies.
|
|
11
11
|
|
|
12
|
+
### [0.2.92](https://github.com/thi-ng/umbrella/tree/@thi.ng/cellular@0.2.92) (2024-02-22)
|
|
13
|
+
|
|
14
|
+
#### ♻️ Refactoring
|
|
15
|
+
|
|
16
|
+
- update object destructuring in all pkgs & examples ([f36aeb0](https://github.com/thi-ng/umbrella/commit/f36aeb0))
|
|
17
|
+
|
|
12
18
|
### [0.2.68](https://github.com/thi-ng/umbrella/tree/@thi.ng/cellular@0.2.68) (2023-11-09)
|
|
13
19
|
|
|
14
20
|
#### ♻️ Refactoring
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/cellular",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.92",
|
|
4
4
|
"description": "Highly customizable 1D cellular automata, shared env, multiple rules, arbitrary sized/shaped neighborhoods, short term memory, cell states etc.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@thi.ng/checks": "^3.5.0",
|
|
41
41
|
"@thi.ng/errors": "^2.4.18",
|
|
42
42
|
"@thi.ng/random": "^3.6.32",
|
|
43
|
-
"@thi.ng/transducers": "^8.9.
|
|
43
|
+
"@thi.ng/transducers": "^8.9.6"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@microsoft/api-extractor": "^7.40.1",
|
|
@@ -93,5 +93,5 @@
|
|
|
93
93
|
],
|
|
94
94
|
"year": 2022
|
|
95
95
|
},
|
|
96
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "16f2b92b5410bd35dcde6c2971c8e62783ebc472\n"
|
|
97
97
|
}
|