@null3d/particles 0.1.0 → 0.1.2
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 +1 -1
- package/lib/system.d.ts +4 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -85,7 +85,7 @@ the look at any time.
|
|
|
85
85
|
## Docs
|
|
86
86
|
|
|
87
87
|
The [particles docs page](https://github.com/null3d-engine/null3d/blob/generated/docs/api/particles.md)
|
|
88
|
-
describes every option.
|
|
88
|
+
describes every option.
|
|
89
89
|
|
|
90
90
|
## License
|
|
91
91
|
|
package/lib/system.d.ts
CHANGED
|
@@ -8,8 +8,10 @@ export type ParticleRange = number | readonly [number, number];
|
|
|
8
8
|
/**
|
|
9
9
|
* Where an emitter's particles are born, in its own space, and which way they set off. A `point`
|
|
10
10
|
* emits at the emitter, along `direction`. A `sphere` emits inside a ball of `radius`, or on its
|
|
11
|
-
* surface with `surface`, and sends particles outward.
|
|
12
|
-
*
|
|
11
|
+
* surface with `surface`, and sends particles outward.
|
|
12
|
+
*
|
|
13
|
+
* A `cone` emits on a disc of `radius` across the emitter's +y axis. It sends particles up within
|
|
14
|
+
* `angle` radians of that axis, as a fountain
|
|
13
15
|
* or a flame does. A `box` emits inside a box of `size`, centered on the emitter, along
|
|
14
16
|
* `direction`. A `disc` emits on a disc of `radius` across the +y axis, along `direction`.
|
|
15
17
|
*
|
package/lib/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.
|
|
1
|
+
export declare const VERSION = "0.1.2";
|
package/lib/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@null3d/particles",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "GPU particle systems for null3D sketches: emitters, bursts and sub-emitters, soft particles and flipbooks made in code, with closed-form motion that costs no simulation pass.",
|
|
5
5
|
"license": "MIT OR Apache-2.0",
|
|
6
6
|
"author": "Ramesh Nair (https://hiddentao.com)",
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"prepack": "bun ../../tools/build-package.ts particles"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@null3d/engine": "0.
|
|
45
|
+
"@null3d/engine": "0.1.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@null3d/engine": "0.
|
|
48
|
+
"@null3d/engine": "0.1.2",
|
|
49
49
|
"@webgpu/types": "0.1.74"
|
|
50
50
|
}
|
|
51
51
|
}
|