@needle-tools/three-mesh-effects 0.1.0-alpha → 0.1.0-alpha.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 (86) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +94 -88
  3. package/build/deformation-runtime.js.map +1 -1
  4. package/build/impostor-runtime-needle-engine.js.map +1 -1
  5. package/build/impostor-runtime.js.map +1 -1
  6. package/build/internal/deformation/cloth-surface.js.map +1 -1
  7. package/build/internal/deformation/fur-surface.js.map +1 -1
  8. package/build/internal/deformation/ik-constraints.js.map +1 -1
  9. package/build/internal/deformation/joints-json.js.map +1 -1
  10. package/build/internal/deformation/limits.js.map +1 -1
  11. package/build/internal/deformation/motion-settings.js.map +1 -1
  12. package/build/internal/deformation/pin-cloth.js.map +1 -1
  13. package/build/internal/deformation/pin-ik.js.map +1 -1
  14. package/build/internal/deformation/pin-types.js.map +1 -1
  15. package/build/internal/deformation/pin-wiggle.js.map +1 -1
  16. package/build/internal/deformation/pose-slots.js.map +1 -1
  17. package/build/internal/deformation/pose-timeline.js.map +1 -1
  18. package/build/internal/deformation/rig-drivers.js.map +1 -1
  19. package/build/internal/deformation/rig-extension.js.map +1 -1
  20. package/build/internal/deformation/rig-runtime.js.map +1 -1
  21. package/build/internal/deformation/wind.js.map +1 -1
  22. package/build/internal/impostor/impostor-metadata.js.map +1 -1
  23. package/build/internal/impostor/impostor-node-material.js.map +1 -1
  24. package/build/internal/impostor/impostor-runtime-support.js.map +1 -1
  25. package/build/internal/impostor/octahedral.js.map +1 -1
  26. package/build/internal/pixel-impostor/pixel-impostor-display.js.map +1 -1
  27. package/build/internal/pixel-impostor/pixel-impostor-metadata.js.map +1 -1
  28. package/build/internal/pixel-impostor/pixel-impostor-runtime.js.map +1 -1
  29. package/build/internal/rendering/skin-projection.js +52 -52
  30. package/build/internal/rendering/skin-projection.js.map +2 -2
  31. package/build/internal/rendering/surface-query.js +52 -52
  32. package/build/internal/rendering/surface-query.js.map +2 -2
  33. package/build/internal/rendering/wireframe.js.map +1 -1
  34. package/build/internal/rendering/wrap-preview-settings.js.map +1 -1
  35. package/build/internal/rendering/wrap-preview.js +52 -52
  36. package/build/internal/rendering/wrap-preview.js.map +2 -2
  37. package/build/internal/rendering/wrap-skin.js +52 -52
  38. package/build/internal/rendering/wrap-skin.js.map +2 -2
  39. package/build/pixel-impostor-runtime.js.map +1 -1
  40. package/build/wrap-effects.js +52 -52
  41. package/build/wrap-effects.js.map +2 -2
  42. package/package.json +107 -94
  43. package/src/deformation/cloth-surface.ts +223 -223
  44. package/src/deformation/fur-surface.ts +129 -129
  45. package/src/deformation/ik-constraints.ts +37 -37
  46. package/src/deformation/joints-json.ts +94 -94
  47. package/src/deformation/limits.ts +25 -25
  48. package/src/deformation/motion-settings.ts +9 -9
  49. package/src/deformation/pin-cloth.ts +149 -149
  50. package/src/deformation/pin-ik.ts +582 -582
  51. package/src/deformation/pin-types.ts +22 -22
  52. package/src/deformation/pin-wiggle.ts +119 -119
  53. package/src/deformation/pose-slots.ts +106 -106
  54. package/src/deformation/pose-timeline.ts +242 -242
  55. package/src/deformation/rig-drivers.ts +32 -32
  56. package/src/deformation/rig-extension.ts +87 -87
  57. package/src/deformation/rig-runtime.ts +416 -416
  58. package/src/deformation/wind.ts +36 -36
  59. package/src/impostor/impostor-metadata.js +137 -137
  60. package/src/impostor/impostor-node-material.js +1581 -1581
  61. package/src/impostor/impostor-runtime-support.js +139 -139
  62. package/src/impostor/octahedral.js +280 -280
  63. package/src/pixel-impostor/pixel-impostor-display.js +794 -794
  64. package/src/pixel-impostor/pixel-impostor-metadata.js +74 -74
  65. package/src/pixel-impostor/pixel-impostor-runtime.js +78 -78
  66. package/src/public/deformation-runtime.ts +3 -3
  67. package/src/public/impostor-runtime-needle-engine.js +56 -56
  68. package/src/public/impostor-runtime.js +21 -21
  69. package/src/public/pixel-impostor-runtime.js +5 -5
  70. package/src/public/wrap-effects.js +21 -21
  71. package/src/rendering/skin-projection.js +113 -113
  72. package/src/rendering/surface-query.js +88 -88
  73. package/src/rendering/wireframe.js +115 -115
  74. package/src/rendering/wrap-preview-settings.js +123 -123
  75. package/src/rendering/wrap-preview.js +645 -645
  76. package/src/rendering/wrap-skin.js +109 -109
  77. package/build/internal/public/deformation-runtime.js +0 -2143
  78. package/build/internal/public/deformation-runtime.js.map +0 -7
  79. package/build/internal/public/impostor-runtime-needle-engine.js +0 -42
  80. package/build/internal/public/impostor-runtime-needle-engine.js.map +0 -7
  81. package/build/internal/public/impostor-runtime.js +0 -1333
  82. package/build/internal/public/impostor-runtime.js.map +0 -7
  83. package/build/internal/public/pixel-impostor-runtime.js +0 -876
  84. package/build/internal/public/pixel-impostor-runtime.js.map +0 -7
  85. package/build/internal/public/wrap-effects.js +0 -5640
  86. package/build/internal/public/wrap-effects.js.map +0 -7
package/package.json CHANGED
@@ -1,94 +1,107 @@
1
- {
2
- "name": "@needle-tools/three-mesh-effects",
3
- "version": "0.1.0-alpha",
4
- "description": "Three.js loaders and TSL effects for Needle Mesh Baker outputs.",
5
- "author": {
6
- "name": "Needle Tools",
7
- "email": "hi@needle.tools",
8
- "url": "https://needle.tools"
9
- },
10
- "license": "MIT",
11
- "publishConfig": { "access": "public" },
12
- "type": "module",
13
- "sideEffects": false,
14
- "engines": { "node": ">=22" },
15
- "exports": {
16
- "./deformation-runtime": {
17
- "deno": "./src/public/deformation-runtime.ts",
18
- "types": "./build/types/public/deformation-runtime.d.ts",
19
- "import": "./build/deformation-runtime.js"
20
- },
21
- "./wrap-effects": {
22
- "deno": "./src/public/wrap-effects.js",
23
- "types": "./build/types/public/wrap-effects.d.ts",
24
- "import": "./build/wrap-effects.js"
25
- },
26
- "./pixel-impostor-runtime": {
27
- "deno": "./src/public/pixel-impostor-runtime.js",
28
- "types": "./build/types/public/pixel-impostor-runtime.d.ts",
29
- "import": "./build/pixel-impostor-runtime.js"
30
- },
31
- "./impostor-runtime": {
32
- "deno": "./src/public/impostor-runtime.js",
33
- "types": "./build/types/public/impostor-runtime.d.ts",
34
- "import": "./build/impostor-runtime.js"
35
- },
36
- "./impostor-runtime/needle-engine": {
37
- "deno": "./src/public/impostor-runtime-needle-engine.js",
38
- "types": "./build/types/public/impostor-runtime-needle-engine.d.ts",
39
- "import": "./build/impostor-runtime-needle-engine.js"
40
- },
41
- "./internal/deformation/*": {
42
- "deno": "./src/deformation/*.ts",
43
- "types": "./build/types/deformation/*.d.ts",
44
- "import": "./build/internal/deformation/*.js"
45
- },
46
- "./internal/impostor/*": {
47
- "deno": "./src/impostor/*.js",
48
- "types": "./build/types/impostor/*.d.ts",
49
- "import": "./build/internal/impostor/*.js"
50
- },
51
- "./internal/pixel-impostor/*": {
52
- "deno": "./src/pixel-impostor/*.js",
53
- "types": "./build/types/pixel-impostor/*.d.ts",
54
- "import": "./build/internal/pixel-impostor/*.js"
55
- },
56
- "./internal/rendering/*": {
57
- "deno": "./src/rendering/*.js",
58
- "types": "./build/types/rendering/*.d.ts",
59
- "import": "./build/internal/rendering/*.js"
60
- },
61
- "./package.json": "./package.json"
62
- },
63
- "files": ["build/", "src/", "README.md", "LICENSE"],
64
- "scripts": {
65
- "build": "node scripts/build.mjs",
66
- "prepare": "node scripts/prepare.mjs",
67
- "prepack": "npm run build",
68
- "test:packed-consumer": "node scripts/test-packed-consumer.mjs"
69
- },
70
- "devDependencies": {
71
- "@needle-tools/engine": "6.0.0-alpha.2",
72
- "@types/node": "^24.10.0",
73
- "@types/three": "^0.185.1",
74
- "esbuild": "^0.25.12",
75
- "three": "^0.185.1",
76
- "typescript": "^5.9.3"
77
- },
78
- "dependencies": {
79
- "closed-chain-ik": "https://codeload.github.com/gkjohnson/closed-chain-ik-js/tar.gz/38a7e273082311e69c84c35a7c8f64e510e188a5",
80
- "three-mesh-bvh": "^0.9.13"
81
- },
82
- "peerDependencies": {
83
- "three": ">=0.185.0 <0.187.0",
84
- "@needle-tools/engine": "^6.0.0-alpha.2"
85
- },
86
- "peerDependenciesMeta": {
87
- "@needle-tools/engine": { "optional": true }
88
- },
89
- "repository": {
90
- "type": "git",
91
- "url": "git+https://github.com/needle-tools/three-mesh-effects.git"
92
- },
93
- "bugs": "https://github.com/needle-tools/three-mesh-effects/issues"
94
- }
1
+ {
2
+ "name": "@needle-tools/three-mesh-effects",
3
+ "version": "0.1.0-alpha.0",
4
+ "description": "Three.js loaders and TSL effects for Needle Mesh Baker outputs.",
5
+ "keywords": [
6
+ "three.js",
7
+ "gltf",
8
+ "glb",
9
+ "impostor",
10
+ "pixel-impostor",
11
+ "mesh-deformation",
12
+ "tsl",
13
+ "needle"
14
+ ],
15
+ "author": {
16
+ "name": "Needle Tools",
17
+ "email": "hi@needle.tools",
18
+ "url": "https://needle.tools"
19
+ },
20
+ "license": "MIT",
21
+ "publishConfig": {
22
+ "access": "public",
23
+ "registry": "https://registry.npmjs.org/"
24
+ },
25
+ "type": "module",
26
+ "sideEffects": false,
27
+ "engines": { "node": ">=22" },
28
+ "exports": {
29
+ "./deformation-runtime": {
30
+ "deno": "./src/public/deformation-runtime.ts",
31
+ "types": "./build/types/public/deformation-runtime.d.ts",
32
+ "import": "./build/deformation-runtime.js"
33
+ },
34
+ "./wrap-effects": {
35
+ "deno": "./src/public/wrap-effects.js",
36
+ "types": "./build/types/public/wrap-effects.d.ts",
37
+ "import": "./build/wrap-effects.js"
38
+ },
39
+ "./pixel-impostor-runtime": {
40
+ "deno": "./src/public/pixel-impostor-runtime.js",
41
+ "types": "./build/types/public/pixel-impostor-runtime.d.ts",
42
+ "import": "./build/pixel-impostor-runtime.js"
43
+ },
44
+ "./impostor-runtime": {
45
+ "deno": "./src/public/impostor-runtime.js",
46
+ "types": "./build/types/public/impostor-runtime.d.ts",
47
+ "import": "./build/impostor-runtime.js"
48
+ },
49
+ "./impostor-runtime/needle-engine": {
50
+ "deno": "./src/public/impostor-runtime-needle-engine.js",
51
+ "types": "./build/types/public/impostor-runtime-needle-engine.d.ts",
52
+ "import": "./build/impostor-runtime-needle-engine.js"
53
+ },
54
+ "./internal/deformation/*": {
55
+ "deno": "./src/deformation/*.ts",
56
+ "types": "./build/types/deformation/*.d.ts",
57
+ "import": "./build/internal/deformation/*.js"
58
+ },
59
+ "./internal/impostor/*": {
60
+ "deno": "./src/impostor/*.js",
61
+ "types": "./build/types/impostor/*.d.ts",
62
+ "import": "./build/internal/impostor/*.js"
63
+ },
64
+ "./internal/pixel-impostor/*": {
65
+ "deno": "./src/pixel-impostor/*.js",
66
+ "types": "./build/types/pixel-impostor/*.d.ts",
67
+ "import": "./build/internal/pixel-impostor/*.js"
68
+ },
69
+ "./internal/rendering/*": {
70
+ "deno": "./src/rendering/*.js",
71
+ "types": "./build/types/rendering/*.d.ts",
72
+ "import": "./build/internal/rendering/*.js"
73
+ },
74
+ "./package.json": "./package.json"
75
+ },
76
+ "files": ["build/", "src/", "README.md", "LICENSE"],
77
+ "scripts": {
78
+ "build": "node scripts/build.mjs",
79
+ "prepare": "node scripts/prepare.mjs",
80
+ "prepack": "npm run build",
81
+ "test:packed-consumer": "node scripts/test-packed-consumer.mjs"
82
+ },
83
+ "devDependencies": {
84
+ "@needle-tools/engine": "6.0.0-alpha.2",
85
+ "@types/node": "^24.10.0",
86
+ "@types/three": "^0.185.1",
87
+ "esbuild": "^0.25.12",
88
+ "three": "^0.185.1",
89
+ "typescript": "^5.9.3"
90
+ },
91
+ "dependencies": {
92
+ "closed-chain-ik": "https://codeload.github.com/gkjohnson/closed-chain-ik-js/tar.gz/38a7e273082311e69c84c35a7c8f64e510e188a5",
93
+ "three-mesh-bvh": "^0.9.13"
94
+ },
95
+ "peerDependencies": {
96
+ "three": ">=0.185.0 <0.187.0",
97
+ "@needle-tools/engine": "^6.0.0-alpha.2"
98
+ },
99
+ "peerDependenciesMeta": {
100
+ "@needle-tools/engine": { "optional": true }
101
+ },
102
+ "repository": {
103
+ "type": "git",
104
+ "url": "git+https://github.com/needle-tools/three-mesh-effects.git"
105
+ },
106
+ "bugs": "https://github.com/needle-tools/three-mesh-effects/issues"
107
+ }