babylon.quarks 0.17.0 → 0.17.1
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 +33 -0
- package/package.json +59 -58
package/README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# babylon.quarks
|
|
2
|
+
|
|
3
|
+
High-performance particle system for [Babylon.js](https://www.babylonjs.com/). Built on [quarks.art](https://quarks.art/) (`quarks.core`).
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install babylon.quarks @babylonjs/core
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Peer dependency: `@babylonjs/core` >= 9.
|
|
12
|
+
|
|
13
|
+
## Quick start
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
import { BatchedRenderer, ParticleSystem } from "babylon.quarks";
|
|
17
|
+
|
|
18
|
+
const batchRenderer = new BatchedRenderer("particles", scene);
|
|
19
|
+
// Create ParticleSystem instances, add them to your scene logic, then each frame:
|
|
20
|
+
// batchRenderer.update(deltaTimeInSeconds);
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
See the [examples app](https://github.com/Soullnik/babylon.quarks-standalone/tree/main/examples) in the monorepo for interactive demos and usage patterns.
|
|
24
|
+
|
|
25
|
+
## Links
|
|
26
|
+
|
|
27
|
+
- [npm package](https://www.npmjs.com/package/babylon.quarks)
|
|
28
|
+
- [Source (monorepo)](https://github.com/Soullnik/babylon.quarks-standalone/tree/main/packages/babylon.quarks)
|
|
29
|
+
- [Issues](https://github.com/Soullnik/babylon.quarks-standalone/issues)
|
|
30
|
+
|
|
31
|
+
## License
|
|
32
|
+
|
|
33
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,58 +1,59 @@
|
|
|
1
|
-
|
|
2
|
-
"name": "babylon.quarks",
|
|
3
|
-
"version": "0.17.
|
|
4
|
-
"description": "A High-Performance Particle System for Babylon.js",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"types": "./dist/types/index.d.ts",
|
|
7
|
-
"main": "./dist/babylon.quarks.cjs",
|
|
8
|
-
"module": "./dist/babylon.quarks.esm.js",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"import": "./dist/babylon.quarks.esm.js",
|
|
12
|
-
"require": "./dist/babylon.quarks.cjs",
|
|
13
|
-
"types": "./dist/types/index.d.ts"
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"files": [
|
|
17
|
-
"dist",
|
|
18
|
-
"src",
|
|
19
|
-
"LICENSE"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
"build:
|
|
25
|
-
"build": "
|
|
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
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "babylon.quarks",
|
|
3
|
+
"version": "0.17.1",
|
|
4
|
+
"description": "A High-Performance Particle System for Babylon.js",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"types": "./dist/types/index.d.ts",
|
|
7
|
+
"main": "./dist/babylon.quarks.cjs",
|
|
8
|
+
"module": "./dist/babylon.quarks.esm.js",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": "./dist/babylon.quarks.esm.js",
|
|
12
|
+
"require": "./dist/babylon.quarks.cjs",
|
|
13
|
+
"types": "./dist/types/index.d.ts"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist",
|
|
18
|
+
"src",
|
|
19
|
+
"LICENSE",
|
|
20
|
+
"README.md"
|
|
21
|
+
],
|
|
22
|
+
"scripts": {
|
|
23
|
+
"clean": "rimraf dist",
|
|
24
|
+
"build:types": "tsc --emitDeclarationOnly",
|
|
25
|
+
"build:js": "cross-env NODE_ENV=production rollup -c",
|
|
26
|
+
"build": "npm run clean && npm run build:types && npm run build:js",
|
|
27
|
+
"test": "jest",
|
|
28
|
+
"prettier": "prettier --write --ignore-unknown **/*.ts"
|
|
29
|
+
},
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "git+https://github.com/Soullnik/babylon.quarks-standalone.git"
|
|
33
|
+
},
|
|
34
|
+
"keywords": [
|
|
35
|
+
"particle",
|
|
36
|
+
"library",
|
|
37
|
+
"3d",
|
|
38
|
+
"game",
|
|
39
|
+
"performance",
|
|
40
|
+
"babylonjs",
|
|
41
|
+
"vfx"
|
|
42
|
+
],
|
|
43
|
+
"author": "soullnik <soullnik96@gmail.com>",
|
|
44
|
+
"license": "MIT",
|
|
45
|
+
"bugs": {
|
|
46
|
+
"url": "https://github.com/Soullnik/babylon.quarks-standalone/issues"
|
|
47
|
+
},
|
|
48
|
+
"homepage": "https://github.com/Soullnik/babylon.quarks-standalone#readme",
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"@babylonjs/core": ">=9.0.0"
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"quarks.core": "^0.17.0"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@babylonjs/core": "^9.0.0",
|
|
57
|
+
"@types/jest": "^30.0.0"
|
|
58
|
+
}
|
|
59
|
+
}
|