@thi.ng/timestep 1.0.37 → 1.0.42
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 +97 -97
- package/CHANGELOG.md +0 -80
package/package.json
CHANGED
|
@@ -1,98 +1,98 @@
|
|
|
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
|
-
}
|
|
2
|
+
"name": "@thi.ng/timestep",
|
|
3
|
+
"version": "1.0.42",
|
|
4
|
+
"description": "Deterministic fixed timestep simulation updates with state interpolation",
|
|
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/timestep",
|
|
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/math": "^5.13.3",
|
|
44
|
+
"@thi.ng/vectors": "^8.6.10"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"esbuild": "^0.25.11",
|
|
48
|
+
"typedoc": "^0.28.14",
|
|
49
|
+
"typescript": "^5.9.3"
|
|
50
|
+
},
|
|
51
|
+
"keywords": [
|
|
52
|
+
"deterministic",
|
|
53
|
+
"fractional",
|
|
54
|
+
"interpolation",
|
|
55
|
+
"physics",
|
|
56
|
+
"simulation",
|
|
57
|
+
"time",
|
|
58
|
+
"typescript",
|
|
59
|
+
"vector"
|
|
60
|
+
],
|
|
61
|
+
"publishConfig": {
|
|
62
|
+
"access": "public"
|
|
63
|
+
},
|
|
64
|
+
"browser": {
|
|
65
|
+
"process": false,
|
|
66
|
+
"setTimeout": false
|
|
67
|
+
},
|
|
68
|
+
"engines": {
|
|
69
|
+
"node": ">=18"
|
|
70
|
+
},
|
|
71
|
+
"files": [
|
|
72
|
+
"./*.js",
|
|
73
|
+
"./*.d.ts"
|
|
74
|
+
],
|
|
75
|
+
"exports": {
|
|
76
|
+
".": {
|
|
77
|
+
"default": "./index.js"
|
|
78
|
+
},
|
|
79
|
+
"./api": {
|
|
80
|
+
"default": "./api.js"
|
|
81
|
+
},
|
|
82
|
+
"./state": {
|
|
83
|
+
"default": "./state.js"
|
|
84
|
+
},
|
|
85
|
+
"./timestep": {
|
|
86
|
+
"default": "./timestep.js"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"thi.ng": {
|
|
90
|
+
"alias": "ts",
|
|
91
|
+
"related": [
|
|
92
|
+
"boids"
|
|
93
|
+
],
|
|
94
|
+
"status": "alpha",
|
|
95
|
+
"year": 2023
|
|
96
|
+
},
|
|
97
|
+
"gitHead": "136a5e5ef0b69e82329db00d806c3c4e8f1aa063\n"
|
|
98
|
+
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
- **Last updated**: 2025-08-04T09:13:01Z
|
|
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
|
-
### [0.5.30](https://github.com/thi-ng/umbrella/tree/@thi.ng/timestep@0.5.30) (2024-02-27)
|
|
15
|
-
|
|
16
|
-
#### 🩹 Bug fixes
|
|
17
|
-
|
|
18
|
-
- fix imports ([0e927ad](https://github.com/thi-ng/umbrella/commit/0e927ad))
|
|
19
|
-
|
|
20
|
-
### [0.5.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/timestep@0.5.3) (2023-11-09)
|
|
21
|
-
|
|
22
|
-
#### ♻️ Refactoring
|
|
23
|
-
|
|
24
|
-
- update all tests (packages T-Z) ([020ef6c](https://github.com/thi-ng/umbrella/commit/020ef6c))
|
|
25
|
-
|
|
26
|
-
## [0.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/timestep@0.5.0) (2023-10-27)
|
|
27
|
-
|
|
28
|
-
#### 🚀 Features
|
|
29
|
-
|
|
30
|
-
- update VectorState, add VecAPI support ([f0aeb7e](https://github.com/thi-ng/umbrella/commit/f0aeb7e))
|
|
31
|
-
- update VectorState ctor & defVector() args
|
|
32
|
-
|
|
33
|
-
### [0.4.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/timestep@0.4.2) (2023-08-04)
|
|
34
|
-
|
|
35
|
-
#### ♻️ Refactoring
|
|
36
|
-
|
|
37
|
-
- update INotify impl & event types ([02d83e8](https://github.com/thi-ng/umbrella/commit/02d83e8))
|
|
38
|
-
- rename EVENT_INTEGRATE => EVENT_SUBFRAME
|
|
39
|
-
- update INotify impls ([cbdc527](https://github.com/thi-ng/umbrella/commit/cbdc527))
|
|
40
|
-
|
|
41
|
-
## [0.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/timestep@0.4.0) (2023-06-19)
|
|
42
|
-
|
|
43
|
-
#### 🚀 Features
|
|
44
|
-
|
|
45
|
-
- update Numeric/VectorState, add 2/3/4d versions ([65ace1e](https://github.com/thi-ng/umbrella/commit/65ace1e))
|
|
46
|
-
- remove abstract AState class
|
|
47
|
-
- update NumericState
|
|
48
|
-
- add new VectorState impl
|
|
49
|
-
- add defVector2/3/4()
|
|
50
|
-
|
|
51
|
-
## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/timestep@0.3.0) (2023-05-05)
|
|
52
|
-
|
|
53
|
-
#### 🚀 Features
|
|
54
|
-
|
|
55
|
-
- add AState.reset() & impls ([a2c4946](https://github.com/thi-ng/umbrella/commit/a2c4946))
|
|
56
|
-
|
|
57
|
-
#### ♻️ Refactoring
|
|
58
|
-
|
|
59
|
-
- rename IUpdatable => ITimeStep ([2cc3951](https://github.com/thi-ng/umbrella/commit/2cc3951))
|
|
60
|
-
|
|
61
|
-
## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/timestep@0.2.0) (2023-04-28)
|
|
62
|
-
|
|
63
|
-
#### 🚀 Features
|
|
64
|
-
|
|
65
|
-
- add INotify support, add fixed time field ([b68c0c6](https://github.com/thi-ng/umbrella/commit/b68c0c6))
|
|
66
|
-
- add integrateAll/interpolateAll() helpers ([71087cf](https://github.com/thi-ng/umbrella/commit/71087cf))
|
|
67
|
-
|
|
68
|
-
### [0.1.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/timestep@0.1.1) (2023-04-25)
|
|
69
|
-
|
|
70
|
-
#### ♻️ Refactoring
|
|
71
|
-
|
|
72
|
-
- update AState, expose prev & curr ([8d5356b](https://github.com/thi-ng/umbrella/commit/8d5356b))
|
|
73
|
-
|
|
74
|
-
## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/timestep@0.1.0) (2023-04-19)
|
|
75
|
-
|
|
76
|
-
#### 🚀 Features
|
|
77
|
-
|
|
78
|
-
- import as new package ([1398282](https://github.com/thi-ng/umbrella/commit/1398282))
|
|
79
|
-
- add start time and time scale opts ([1cdc3d3](https://github.com/thi-ng/umbrella/commit/1cdc3d3))
|
|
80
|
-
- update IUpdatable/AState to receive context arg ([1249283](https://github.com/thi-ng/umbrella/commit/1249283))
|