@thi.ng/cellular 1.0.33 → 1.0.38
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/package.json +102 -102
- package/CHANGELOG.md +0 -64
package/package.json
CHANGED
|
@@ -1,103 +1,103 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
2
|
+
"name": "@thi.ng/cellular",
|
|
3
|
+
"version": "1.0.38",
|
|
4
|
+
"description": "Highly customizable 1D cellular automata, shared env, multiple rules, arbitrary sized/shaped neighborhoods, short term memory, cell states etc.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"module": "./index.js",
|
|
7
|
+
"typings": "./index.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/thi-ng/umbrella.git"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://thi.ng/cellular",
|
|
14
|
+
"funding": [
|
|
15
|
+
{
|
|
16
|
+
"type": "github",
|
|
17
|
+
"url": "https://github.com/sponsors/postspectacular"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"type": "patreon",
|
|
21
|
+
"url": "https://patreon.com/thing_umbrella"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "liberapay",
|
|
25
|
+
"url": "https://liberapay.com/thi.ng"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"author": "Karsten Schmidt (https://thi.ng)",
|
|
29
|
+
"license": "Apache-2.0",
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "yarn build:esbuild && yarn build:decl",
|
|
32
|
+
"build:decl": "tsc --declaration --emitDeclarationOnly",
|
|
33
|
+
"build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
|
|
34
|
+
"clean": "bun ../../tools/src/clean-package.ts",
|
|
35
|
+
"doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
|
|
36
|
+
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
|
|
37
|
+
"pub": "npm publish --access public",
|
|
38
|
+
"test": "bun test",
|
|
39
|
+
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@thi.ng/api": "^8.12.6",
|
|
43
|
+
"@thi.ng/arrays": "^2.13.15",
|
|
44
|
+
"@thi.ng/checks": "^3.7.22",
|
|
45
|
+
"@thi.ng/errors": "^2.5.46",
|
|
46
|
+
"@thi.ng/random": "^4.1.31",
|
|
47
|
+
"@thi.ng/transducers": "^9.6.14"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"esbuild": "^0.25.11",
|
|
51
|
+
"typedoc": "^0.28.14",
|
|
52
|
+
"typescript": "^5.9.3"
|
|
53
|
+
},
|
|
54
|
+
"keywords": [
|
|
55
|
+
"1d",
|
|
56
|
+
"automata",
|
|
57
|
+
"bigint",
|
|
58
|
+
"cellular",
|
|
59
|
+
"evolutionary",
|
|
60
|
+
"generative",
|
|
61
|
+
"kernel",
|
|
62
|
+
"neighborhood",
|
|
63
|
+
"pixel",
|
|
64
|
+
"rulebased",
|
|
65
|
+
"simulation",
|
|
66
|
+
"typescript"
|
|
67
|
+
],
|
|
68
|
+
"publishConfig": {
|
|
69
|
+
"access": "public"
|
|
70
|
+
},
|
|
71
|
+
"browser": {
|
|
72
|
+
"process": false,
|
|
73
|
+
"setTimeout": false
|
|
74
|
+
},
|
|
75
|
+
"engines": {
|
|
76
|
+
"node": ">=18"
|
|
77
|
+
},
|
|
78
|
+
"files": [
|
|
79
|
+
"./*.js",
|
|
80
|
+
"./*.d.ts"
|
|
81
|
+
],
|
|
82
|
+
"exports": {
|
|
83
|
+
".": {
|
|
84
|
+
"default": "./index.js"
|
|
85
|
+
},
|
|
86
|
+
"./1d": {
|
|
87
|
+
"default": "./1d.js"
|
|
88
|
+
},
|
|
89
|
+
"./api": {
|
|
90
|
+
"default": "./api.js"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"thi.ng": {
|
|
94
|
+
"alias": "cell",
|
|
95
|
+
"related": [
|
|
96
|
+
"lsys",
|
|
97
|
+
"pixel"
|
|
98
|
+
],
|
|
99
|
+
"year": 2022,
|
|
100
|
+
"screenshot": "cellular/hero.png"
|
|
101
|
+
},
|
|
102
|
+
"gitHead": "136a5e5ef0b69e82329db00d806c3c4e8f1aa063\n"
|
|
103
|
+
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
- **Last updated**: 2025-09-01T16:38:35Z
|
|
4
|
-
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
5
|
-
|
|
6
|
-
All notable changes to this project will be documented in this file.
|
|
7
|
-
Only versions published since **2022-01-01** are listed here.
|
|
8
|
-
Please consult the Git history for older version information.
|
|
9
|
-
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
|
|
10
|
-
|
|
11
|
-
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
12
|
-
and/or version bumps of transitive dependencies.
|
|
13
|
-
|
|
14
|
-
### [1.0.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/cellular@1.0.2) (2025-01-14)
|
|
15
|
-
|
|
16
|
-
#### ♻️ Refactoring
|
|
17
|
-
|
|
18
|
-
- use optional chaining & nullish coalescing ([c5a0a13](https://github.com/thi-ng/umbrella/commit/c5a0a13))
|
|
19
|
-
|
|
20
|
-
### [0.2.92](https://github.com/thi-ng/umbrella/tree/@thi.ng/cellular@0.2.92) (2024-02-22)
|
|
21
|
-
|
|
22
|
-
#### ♻️ Refactoring
|
|
23
|
-
|
|
24
|
-
- update object destructuring in all pkgs & examples ([f36aeb0](https://github.com/thi-ng/umbrella/commit/f36aeb0))
|
|
25
|
-
|
|
26
|
-
### [0.2.68](https://github.com/thi-ng/umbrella/tree/@thi.ng/cellular@0.2.68) (2023-11-09)
|
|
27
|
-
|
|
28
|
-
#### ♻️ Refactoring
|
|
29
|
-
|
|
30
|
-
- update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
|
|
31
|
-
|
|
32
|
-
### [0.2.65](https://github.com/thi-ng/umbrella/tree/@thi.ng/cellular@0.2.65) (2023-10-27)
|
|
33
|
-
|
|
34
|
-
#### ♻️ Refactoring
|
|
35
|
-
|
|
36
|
-
- update MultiCA1D.rotate() ([f8fbac6](https://github.com/thi-ng/umbrella/commit/f8fbac6))
|
|
37
|
-
- re-use impl from [@thi.ng/arrays](https://github.com/thi-ng/umbrella/tree/main/packages/arrays)
|
|
38
|
-
- update deps, readme
|
|
39
|
-
|
|
40
|
-
### [0.2.47](https://github.com/thi-ng/umbrella/tree/@thi.ng/cellular@0.2.47) (2023-08-12)
|
|
41
|
-
|
|
42
|
-
#### ♻️ Refactoring
|
|
43
|
-
|
|
44
|
-
- update .probability() call sites in various pkgs ([c8c8141](https://github.com/thi-ng/umbrella/commit/c8c8141))
|
|
45
|
-
|
|
46
|
-
## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/cellular@0.2.0) (2022-06-11)
|
|
47
|
-
|
|
48
|
-
#### 🚀 Features
|
|
49
|
-
|
|
50
|
-
- add probabilities, update options ([97e6b4d](https://github.com/thi-ng/umbrella/commit/97e6b4d))
|
|
51
|
-
- add cell update probabilities
|
|
52
|
-
- add `updateProbabilistic()`
|
|
53
|
-
- extract `computeCell()`
|
|
54
|
-
- add `UpdateImageOpts1D`, update `updateImage()`
|
|
55
|
-
- replace `clearCurrent()` => `clearTarget()`
|
|
56
|
-
|
|
57
|
-
## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/cellular@0.1.0) (2022-06-09)
|
|
58
|
-
|
|
59
|
-
#### 🚀 Features
|
|
60
|
-
|
|
61
|
-
- import as new pkg ([aaec2ed](https://github.com/thi-ng/umbrella/commit/aaec2ed))
|
|
62
|
-
- update setPattern/setNoise() ([2ef2013](https://github.com/thi-ng/umbrella/commit/2ef2013))
|
|
63
|
-
- add support to operate on diff target buffers (cells/mask)
|
|
64
|
-
- add kernel presets, simplify CASpec1D ([3ee4a25](https://github.com/thi-ng/umbrella/commit/3ee4a25))
|