@thi.ng/timestep 1.0.56 → 1.0.58
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/README.md +15 -14
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
|
-
<!-- Please see: https://
|
|
3
|
-
# 
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@thi.ng/timestep)
|
|
6
6
|

|
|
@@ -8,11 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
10
|
> This is one of 214 standalone projects, maintained as part
|
|
11
|
-
> of the [@thi.ng/umbrella](https://
|
|
11
|
+
> of the [@thi.ng/umbrella](https://codeberg.org/thi.ng/umbrella/) ecosystem
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
|
14
|
-
> 🚀 Please help me to work full-time on these projects by [sponsoring
|
|
15
|
-
>
|
|
14
|
+
> 🚀 Please help me to work full-time on these projects by [sponsoring
|
|
15
|
+
> me](https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#donations).
|
|
16
|
+
> Thank you! ❤️
|
|
16
17
|
|
|
17
18
|
- [About](#about)
|
|
18
19
|
- [Managing fixed timestep updates](#managing-fixed-timestep-updates)
|
|
@@ -136,11 +137,11 @@ after 1 second (25 frames)...
|
|
|
136
137
|
|
|
137
138
|
**ALPHA** - bleeding edge / work-in-progress
|
|
138
139
|
|
|
139
|
-
[Search or submit any issues for this package](https://
|
|
140
|
+
[Search or submit any issues for this package](https://codeberg.org/thi.ng/umbrella/issues?q=%5Btimestep%5D)
|
|
140
141
|
|
|
141
142
|
## Related packages
|
|
142
143
|
|
|
143
|
-
- [@thi.ng/boids](https://
|
|
144
|
+
- [@thi.ng/boids](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/boids) - n-dimensional boids simulation with modular behavior system
|
|
144
145
|
|
|
145
146
|
## Installation
|
|
146
147
|
|
|
@@ -172,21 +173,21 @@ Package sizes (brotli'd, pre-treeshake): ESM: 1.02 KB
|
|
|
172
173
|
|
|
173
174
|
## Dependencies
|
|
174
175
|
|
|
175
|
-
- [@thi.ng/api](https://
|
|
176
|
-
- [@thi.ng/math](https://
|
|
177
|
-
- [@thi.ng/vectors](https://
|
|
176
|
+
- [@thi.ng/api](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/api)
|
|
177
|
+
- [@thi.ng/math](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/math)
|
|
178
|
+
- [@thi.ng/vectors](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/vectors)
|
|
178
179
|
|
|
179
180
|
Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
|
|
180
181
|
|
|
181
182
|
## Usage examples
|
|
182
183
|
|
|
183
184
|
One project in this repo's
|
|
184
|
-
[/examples](https://
|
|
185
|
+
[/examples](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples)
|
|
185
186
|
directory is using this package:
|
|
186
187
|
|
|
187
|
-
| Screenshot | Description | Live demo | Source
|
|
188
|
-
|
|
189
|
-
| <img src="https://
|
|
188
|
+
| Screenshot | Description | Live demo | Source |
|
|
189
|
+
|:-------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------|:--------------------------------------------------|:---------------------------------------------------------------------------------------|
|
|
190
|
+
| <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/boid-basics.png" width="240"/> | Basic 2D boid simulation and spatial indexing neighbor lookups | [Demo](https://demo.thi.ng/umbrella/boid-basics/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/boid-basics) |
|
|
190
191
|
|
|
191
192
|
## API
|
|
192
193
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/timestep",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.58",
|
|
4
4
|
"description": "Deterministic fixed timestep simulation updates with state interpolation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://
|
|
11
|
+
"url": "git+https://codeberg.org/thi.ng/umbrella.git",
|
|
12
12
|
"directory": "packages/timestep"
|
|
13
13
|
},
|
|
14
14
|
"homepage": "https://thi.ng/timestep",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@thi.ng/api": "^8.12.
|
|
44
|
-
"@thi.ng/math": "^5.15.
|
|
45
|
-
"@thi.ng/vectors": "^8.6.
|
|
43
|
+
"@thi.ng/api": "^8.12.18",
|
|
44
|
+
"@thi.ng/math": "^5.15.7",
|
|
45
|
+
"@thi.ng/vectors": "^8.6.26"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"esbuild": "^0.27.2",
|
|
@@ -95,5 +95,5 @@
|
|
|
95
95
|
"status": "alpha",
|
|
96
96
|
"year": 2023
|
|
97
97
|
},
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "8ddf86ea0a1e658ddbf19cc645b29d0c176e29c4\n"
|
|
99
99
|
}
|