@margoengine/creative 0.0.0-stage → 0.1.0

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.
Files changed (47) hide show
  1. package/LICENSE +201 -0
  2. package/NOTICE +4 -0
  3. package/README.md +307 -3
  4. package/dist/display-C6RC-F2-.js +3 -0
  5. package/dist/errors-XvcwUnU4.js +7 -0
  6. package/dist/gpu-DN8sGUpu.js +30 -0
  7. package/dist/grass-StuKCE_k.js +450 -0
  8. package/dist/grass-settings.d.ts +63 -0
  9. package/dist/grass-settings.js +131 -0
  10. package/dist/grass-terrain.d.ts +33 -0
  11. package/dist/grass-terrain.js +185 -0
  12. package/dist/grass.d.ts +106 -0
  13. package/dist/grass.js +1 -0
  14. package/dist/hdr-format-DXpjc3bW.js +4 -0
  15. package/dist/index.d.ts +7 -0
  16. package/dist/index.js +8 -0
  17. package/dist/msaa-DjFZ9hVW.js +213 -0
  18. package/dist/paint-aniso.d.ts +36 -0
  19. package/dist/paint-aniso.js +215 -0
  20. package/dist/paint.d.ts +56 -0
  21. package/dist/paint.js +148 -0
  22. package/dist/particles.d.ts +38 -0
  23. package/dist/particles.js +79 -0
  24. package/dist/pass-B5mPip-t.js +27 -0
  25. package/dist/planet-C2ewqAmf.js +505 -0
  26. package/dist/planet-atmosphere.d.ts +37 -0
  27. package/dist/planet-atmosphere.js +196 -0
  28. package/dist/planet-pass.d.ts +47 -0
  29. package/dist/planet.d.ts +76 -0
  30. package/dist/planet.js +1 -0
  31. package/dist/post.d.ts +108 -0
  32. package/dist/post.js +265 -0
  33. package/dist/quality-DFm-cQWC.js +7 -0
  34. package/dist/shared/settings.d.ts +89 -0
  35. package/dist/stars-DWF7qnc1.js +90 -0
  36. package/dist/stars.d.ts +34 -0
  37. package/dist/stars.js +1 -0
  38. package/dist/targets-depth.d.ts +35 -0
  39. package/dist/targets-depth.js +169 -0
  40. package/dist/targets.d.ts +35 -0
  41. package/dist/targets.js +42 -0
  42. package/dist/texture-target-CGqE9pOa.js +131 -0
  43. package/dist/texture-target.d.ts +49 -0
  44. package/dist/toon.d.ts +32 -0
  45. package/dist/toon.js +58 -0
  46. package/dist/view-rect-TO68f_UR.js +48 -0
  47. package/package.json +126 -6
package/package.json CHANGED
@@ -1,6 +1,126 @@
1
- {
2
- "name": "@margoengine/creative",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
1
+ {
2
+ "name": "@margoengine/creative",
3
+ "version": "0.1.0",
4
+ "description": "WebGPU particles, atmosphere, toon shading and post-processing for Margo Engine.",
5
+ "keywords": [
6
+ "margoengine",
7
+ "webgpu",
8
+ "3d",
9
+ "creative"
10
+ ],
11
+ "homepage": "https://margoengine.com",
12
+ "bugs": {
13
+ "url": "https://github.com/scottcampbelldata/margoengine/issues"
14
+ },
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/scottcampbelldata/margoengine.git",
18
+ "directory": "packages/creative"
19
+ },
20
+ "license": "Apache-2.0",
21
+ "author": "Scott Campbell",
22
+ "type": "module",
23
+ "publishConfig": {
24
+ "access": "public"
25
+ },
26
+ "scripts": {
27
+ "test:settings:browser": "cd ../.. && node packages/creative/tests/grass-settings-browser.mjs && node packages/creative/tests/grass-settings-browser.mjs --compat",
28
+ "build": "node scripts/build.js",
29
+ "test": "npm run build && node --test tests/*.test.js ../../tests/modern-grass.test.js ../../tests/deep-render-creative.test.js ../../tests/audit-rendering-composition.test.js ../../examples/package-benchmarks/proofs/package-guard.mjs",
30
+ "test:browser": "npm run build && node scripts/test-browser.js",
31
+ "test:gpu:targets": "node scripts/test-targets.js",
32
+ "test:gpu:paint": "node scripts/test-paint.js",
33
+ "test:gpu:targets-depth": "cd ../.. && node packages/creative/scripts/test-targets-depth.js",
34
+ "dev": "vite --config vite.config.js --open /examples/earth/index.html",
35
+ "prepack": "npm run build",
36
+ "test:gpu:grass-atmosphere": "cd ../.. && node packages/creative/scripts/test-grass-terrain.js && node packages/creative/scripts/test-orbit-atmosphere.js",
37
+ "test:gpu:paint-aniso": "cd ../.. && node packages/creative/scripts/test-paint-aniso.js",
38
+ "test:gpu:post-contrast": "cd ../.. && node packages/creative/tests/post-contrast-browser.mjs",
39
+ "test:gpu:post-contrast-zero": "cd ../.. && node packages/creative/tests/post-contrast-zero-browser.mjs",
40
+ "test:gpu:post-views": "cd ../.. && node packages/creative/tests/post-views-browser.mjs"
41
+ },
42
+ "sideEffects": false,
43
+ "exports": {
44
+ "./paint": {
45
+ "types": "./dist/paint.d.ts",
46
+ "import": "./dist/paint.js"
47
+ },
48
+ ".": {
49
+ "types": "./dist/index.d.ts",
50
+ "import": "./dist/index.js"
51
+ },
52
+ "./particles": {
53
+ "types": "./dist/particles.d.ts",
54
+ "import": "./dist/particles.js"
55
+ },
56
+ "./targets": {
57
+ "types": "./dist/targets.d.ts",
58
+ "import": "./dist/targets.js"
59
+ },
60
+ "./toon": {
61
+ "types": "./dist/toon.d.ts",
62
+ "import": "./dist/toon.js"
63
+ },
64
+ "./post": {
65
+ "types": "./dist/post.d.ts",
66
+ "import": "./dist/post.js"
67
+ },
68
+ "./grass": {
69
+ "types": "./dist/grass.d.ts",
70
+ "import": "./dist/grass.js"
71
+ },
72
+ "./grass-settings": {
73
+ "types": "./dist/grass-settings.d.ts",
74
+ "import": "./dist/grass-settings.js"
75
+ },
76
+ "./planet": {
77
+ "types": "./dist/planet.d.ts",
78
+ "import": "./dist/planet.js"
79
+ },
80
+ "./stars": {
81
+ "types": "./dist/stars.d.ts",
82
+ "import": "./dist/stars.js"
83
+ },
84
+ "./planet-atmosphere": {
85
+ "types": "./dist/planet-atmosphere.d.ts",
86
+ "import": "./dist/planet-atmosphere.js"
87
+ },
88
+ "./grass-terrain": {
89
+ "types": "./dist/grass-terrain.d.ts",
90
+ "import": "./dist/grass-terrain.js"
91
+ },
92
+ "./paint-aniso": {
93
+ "types": "./dist/paint-aniso.d.ts",
94
+ "import": "./dist/paint-aniso.js"
95
+ },
96
+ "./targets-depth": {
97
+ "types": "./dist/targets-depth.d.ts",
98
+ "import": "./dist/targets-depth.js"
99
+ }
100
+ },
101
+ "files": [
102
+ "dist",
103
+ "NOTICE"
104
+ ],
105
+ "peerDependencies": {
106
+ "@margoengine/core": "^0.1.0",
107
+ "@margoengine/post": "^0.1.0",
108
+ "@margoengine/sky": "^0.1.0",
109
+ "@margoengine/scatter": "^0.1.0"
110
+ },
111
+ "peerDependenciesMeta": {
112
+ "@margoengine/post": {
113
+ "optional": true
114
+ },
115
+ "@margoengine/sky": {
116
+ "optional": true
117
+ },
118
+ "@margoengine/scatter": {
119
+ "optional": true
120
+ }
121
+ },
122
+ "dependencies": {
123
+ "@margoengine/vfx": "^0.1.0",
124
+ "@margoengine/math": "^0.1.0"
125
+ }
126
+ }