@thi.ng/cellular 1.0.5 → 1.0.7
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.d.ts +2 -2
- package/CHANGELOG.md +1 -1
- package/README.md +1 -1
- package/package.json +10 -11
package/1d.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export declare const WOLFRAM7: Kernel;
|
|
|
34
34
|
*
|
|
35
35
|
* Automata rules are encoded as JS `BigInt` values and are considered
|
|
36
36
|
* anisotropic by default. If isotropy is desired, it has to be explicitly
|
|
37
|
-
* pre-encoded
|
|
37
|
+
* pre-encoded (out of scope of this library). There's also built-in optional
|
|
38
38
|
* support for position independent neighborhood encoding, only considering the
|
|
39
39
|
* number/count of non-zero cells. An encoded rule ID and its overall magnitude
|
|
40
40
|
* is directly related and dependent on the size and shape of its kernel config,
|
|
@@ -45,7 +45,7 @@ export declare const WOLFRAM7: Kernel;
|
|
|
45
45
|
* ```
|
|
46
46
|
*
|
|
47
47
|
* This example kernel defines a 5-cell neighborhood with a max. short term
|
|
48
|
-
* memory of one additional previous generation (i.e. the [-2,1] and [2,1]
|
|
48
|
+
* memory of one additional previous generation (i.e. the `[-2,1]` and `[2,1]`
|
|
49
49
|
* offsets)
|
|
50
50
|
*
|
|
51
51
|
* The rules related to this kernel have a 32 bit address space (4 billion
|
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 201 standalone projects, maintained as part
|
|
11
11
|
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/cellular",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
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",
|
|
@@ -33,23 +33,22 @@
|
|
|
33
33
|
"build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
|
|
34
34
|
"clean": "bun ../../tools/src/clean-package.ts",
|
|
35
35
|
"doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
|
|
36
|
-
"doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
|
|
37
36
|
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
|
|
38
37
|
"pub": "yarn npm publish --access public",
|
|
39
38
|
"test": "bun test",
|
|
40
39
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
41
40
|
},
|
|
42
41
|
"dependencies": {
|
|
43
|
-
"@thi.ng/api": "^8.11.
|
|
44
|
-
"@thi.ng/arrays": "^2.10.
|
|
45
|
-
"@thi.ng/checks": "^3.6.
|
|
46
|
-
"@thi.ng/errors": "^2.5.
|
|
47
|
-
"@thi.ng/random": "^4.1.
|
|
48
|
-
"@thi.ng/transducers": "^9.2.
|
|
42
|
+
"@thi.ng/api": "^8.11.20",
|
|
43
|
+
"@thi.ng/arrays": "^2.10.15",
|
|
44
|
+
"@thi.ng/checks": "^3.6.23",
|
|
45
|
+
"@thi.ng/errors": "^2.5.26",
|
|
46
|
+
"@thi.ng/random": "^4.1.11",
|
|
47
|
+
"@thi.ng/transducers": "^9.2.18"
|
|
49
48
|
},
|
|
50
49
|
"devDependencies": {
|
|
51
|
-
"esbuild": "^0.
|
|
52
|
-
"typedoc": "^0.27.
|
|
50
|
+
"esbuild": "^0.25.0",
|
|
51
|
+
"typedoc": "^0.27.7",
|
|
53
52
|
"typescript": "^5.7.3"
|
|
54
53
|
},
|
|
55
54
|
"keywords": [
|
|
@@ -100,5 +99,5 @@
|
|
|
100
99
|
"year": 2022,
|
|
101
100
|
"screenshot": "cellular/hero.png"
|
|
102
101
|
},
|
|
103
|
-
"gitHead": "
|
|
102
|
+
"gitHead": "9a0b33253fef092aaf301decf6ecd54317874d4c\n"
|
|
104
103
|
}
|