@crapthings/run3d 0.2.8 → 0.2.10

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 CHANGED
@@ -51,6 +51,12 @@ Drag to orbit the scene, scroll to zoom, and right-drag to pan. Edit `src/Scenes
51
51
  - [D3](https://github.com/d3/d3) — provides data scales, layouts, and visualizations.
52
52
  - [p5.js](https://github.com/processing/p5.js) — creates interactive graphics and creative coding sketches.
53
53
 
54
+ ### Media
55
+
56
+ - [Elementary](https://github.com/elemaudio/elementary) — creates declarative audio DSP graphs with `@elemaudio/core` and runs them in the browser with `@elemaudio/web-renderer`.
57
+ - [Howler.js](https://github.com/goldfire/howler.js#documentation) — plays audio with volume controls, sound sprites, and 3D spatial sound.
58
+ - [Mediabunny](https://mediabunny.dev/) — reads, writes, and converts audio and video files in the browser.
59
+
54
60
  ### Interface
55
61
 
56
62
  - [React Router](https://github.com/remix-run/react-router) — connects URLs to pages and handles navigation.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.2.8",
6
+ "version": "0.2.10",
7
7
  "description": "From idea to interactive 3D prototype in one command. A JavaScript starter with Vite, React Three Fiber, and tools for creative experimentation.",
8
8
  "type": "module",
9
9
  "bin": {
@@ -13,6 +13,8 @@
13
13
  "preview": "vite preview"
14
14
  },
15
15
  "dependencies": {
16
+ "@elemaudio/core": "^4.0.1",
17
+ "@elemaudio/web-renderer": "^4.0.3",
16
18
  "@floating-ui/react": "^0.27.20",
17
19
  "@gsap/react": "^2.1.2",
18
20
  "@headlessui/react": "^2.2.10",
@@ -24,8 +26,10 @@
24
26
  "d3": "^7.9.0",
25
27
  "fastnoise-lite": "^1.1.1",
26
28
  "gsap": "^3.15.0",
29
+ "howler": "^2.2.4",
27
30
  "koota": "^0.6.6",
28
31
  "math": "0.1.0",
32
+ "mediabunny": "^1.61.6",
29
33
  "navcat": "^0.4.1",
30
34
  "p5": "^2.3.4",
31
35
  "postprocessing": "^6.39.5",
@@ -166,6 +166,12 @@ importers:
166
166
 
167
167
  .:
168
168
  dependencies:
169
+ '@elemaudio/core':
170
+ specifier: ^4.0.1
171
+ version: 4.0.1
172
+ '@elemaudio/web-renderer':
173
+ specifier: ^4.0.3
174
+ version: 4.0.3
169
175
  '@floating-ui/react':
170
176
  specifier: ^0.27.20
171
177
  version: 0.27.20(react-dom@19.2.8(react@19.2.8))(react@19.2.8)
@@ -199,12 +205,18 @@ importers:
199
205
  gsap:
200
206
  specifier: ^3.15.0
201
207
  version: 3.15.0
208
+ howler:
209
+ specifier: ^2.2.4
210
+ version: 2.2.4
202
211
  koota:
203
212
  specifier: ^0.6.6
204
213
  version: 0.6.6(@types/react@19.3.0)(react@19.2.8)
205
214
  math:
206
215
  specifier: 0.1.0
207
216
  version: 0.1.0
217
+ mediabunny:
218
+ specifier: ^1.61.6
219
+ version: 1.61.6
208
220
  navcat:
209
221
  specifier: ^0.4.1
210
222
  version: 0.4.1(three@0.186.1)
@@ -273,6 +285,12 @@ packages:
273
285
  '@dimforge/rapier3d-compat@0.19.2':
274
286
  resolution: {integrity: sha512-AZHL1jqUF55QJkJyU1yKeh4ImX2J93bVLIezT1+o0FZqTix6O06MOaqpKoJ4MmbDCsoZmwO+qc471/SDMDm2AA==}
275
287
 
288
+ '@elemaudio/core@4.0.1':
289
+ resolution: {integrity: sha512-O58CaR5ttxzPt1LwkJoXVipPLlZ8lZmOIHhJFiih3rWkfCZ3/H1X2XTG0HM2jAn3BokoP5jYSbnbEiQybyvRGw==}
290
+
291
+ '@elemaudio/web-renderer@4.0.3':
292
+ resolution: {integrity: sha512-mvMt6SsUzcOEx97SGsf0u1/kafMkxWKtEa1FOuzwdzkmcdLAQIwouzZ87PExf452gi4tJqhMF0RDFb62LJqfZg==}
293
+
276
294
  '@floating-ui/core@1.8.0':
277
295
  resolution: {integrity: sha512-0CIZ5itps/8x7BG8dEIhs53BvCUH2PCoogtakwRTut+Arm58sJooJ0AuZhLw2HJYIR5cMLNPBSS728sPho2khQ==}
278
296
 
@@ -695,6 +713,12 @@ packages:
695
713
  '@tweenjs/tween.js@23.1.3':
696
714
  resolution: {integrity: sha512-vJmvvwFxYuGnF2axRtPYocag6Clbb5YS7kLL+SO/TeVFzHqDIWrNKYtcsPMibjDx9O+bu+psAy9NKfWklassUA==}
697
715
 
716
+ '@types/dom-mediacapture-transform@0.1.12':
717
+ resolution: {integrity: sha512-d7/QsLRwF864A5mgIM/YrfiglHoYn7zgCcAoJgW404r+2DwnNr7EBbLnCWpmOMgH8y0te73L1AV6H1bmauaWFw==}
718
+
719
+ '@types/dom-webcodecs@0.1.13':
720
+ resolution: {integrity: sha512-O5hkiFIcjjszPIYyUSyvScyvrBoV3NOEEZx/pMlsu44TKzWNkLVBBxnxJz42in5n3QIolYOcBYFCPZZ0h8SkwQ==}
721
+
698
722
  '@types/draco3d@1.4.10':
699
723
  resolution: {integrity: sha512-AX22jp8Y7wwaBgAixaSvkoG4M/+PlAcm3Qs4OW8yT9DM4xUpWKeFhLueTAyZF39pviAdcDdeJoACapiAceqNcw==}
700
724
 
@@ -974,6 +998,9 @@ packages:
974
998
  eventemitter3@4.0.7:
975
999
  resolution: {integrity: sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==}
976
1000
 
1001
+ eventemitter3@5.0.4:
1002
+ resolution: {integrity: sha512-mlsTRyGaPBjPedk6Bvw+aqbsXDtoAyAzm5MO7JgU+yVRyMQ5O8bD4Kcci7BS85f93veegeCPkL8R4GLClnjLFw==}
1003
+
977
1004
  fastnoise-lite@1.1.1:
978
1005
  resolution: {integrity: sha512-3XEk16gmVq1HUL0+BdoR+/wD/tfB6VQjpliqQ7rSSE2omh23wrJGidQ5Mfr4mECCUtBGtcEov44BGIyVqs+U4w==}
979
1006
 
@@ -1012,6 +1039,9 @@ packages:
1012
1039
  hls.js@1.7.3:
1013
1040
  resolution: {integrity: sha512-MsPlx6yVW4Qv4C7mEVou4/gk/5cN2dVxOTnrNjPSmyH2f0Ln+/UkG10Ax1PE6OvrmTVPKgQYozTtBaPOuCzq7A==}
1014
1041
 
1042
+ howler@2.2.4:
1043
+ resolution: {integrity: sha512-iARIBPgcQrwtEr+tALF+rapJ8qSc+Set2GJQl7xT1MQzWaVkFebdJhR3alVlSiUf5U7nAANKuj3aWpwerocD5w==}
1044
+
1015
1045
  i18next-browser-languagedetector@4.3.1:
1016
1046
  resolution: {integrity: sha512-KIToAzf8zwWvacgnRwJp63ase26o24AuNUlfNVJ5YZAFmdGhsJpmFClxXPuk9rv1FMI4lnc8zLSqgZPEZMrW4g==}
1017
1047
 
@@ -1032,6 +1062,9 @@ packages:
1032
1062
  resolution: {integrity: sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==}
1033
1063
  engines: {node: '>=12'}
1034
1064
 
1065
+ invariant@2.2.4:
1066
+ resolution: {integrity: sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==}
1067
+
1035
1068
  is-promise@2.2.2:
1036
1069
  resolution: {integrity: sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==}
1037
1070
 
@@ -1234,6 +1267,9 @@ packages:
1234
1267
  mathcat@0.0.12:
1235
1268
  resolution: {integrity: sha512-gUBe1U/sh7JQ+aSMJDiLG++B3t5rSGAYdEIqPBSEEFUHK9mAcC7yE0f7RZ1SjXI57bDLSYJyrA74XQPT1tJxoA==}
1236
1269
 
1270
+ mediabunny@1.61.6:
1271
+ resolution: {integrity: sha512-VHEZ53/7jGl4dQ+uOdndsZufFYwEUFWv9UXgvrGun3OapyzoqI9iaPOD7z3xxY/nAttLZBNwswgJzMtGJAquOQ==}
1272
+
1237
1273
  meshline@3.3.1:
1238
1274
  resolution: {integrity: sha512-/TQj+JdZkeSUOl5Mk2J7eLcYTLiQm2IDzmlSvYm7ov15anEcDJ92GHqqazxTSreeNgfnYu24kiEvvv0WlbCdFQ==}
1239
1275
  peerDependencies:
@@ -1399,6 +1435,9 @@ packages:
1399
1435
  scheduler@0.28.0:
1400
1436
  resolution: {integrity: sha512-juorfCmIkIw8tT+p5BXSm6PJjQF/ycEYmKyzURCIt/RaZIhL+PulbQ9Yu2z1HdOJDdqDTlxA1+xKBmHXJsczAw==}
1401
1437
 
1438
+ shallowequal@1.1.0:
1439
+ resolution: {integrity: sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==}
1440
+
1402
1441
  shebang-command@2.0.0:
1403
1442
  resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==}
1404
1443
  engines: {node: '>=8'}
@@ -1604,6 +1643,17 @@ snapshots:
1604
1643
 
1605
1644
  '@dimforge/rapier3d-compat@0.19.2': {}
1606
1645
 
1646
+ '@elemaudio/core@4.0.1':
1647
+ dependencies:
1648
+ eventemitter3: 5.0.4
1649
+ invariant: 2.2.4
1650
+ shallowequal: 1.1.0
1651
+
1652
+ '@elemaudio/web-renderer@4.0.3':
1653
+ dependencies:
1654
+ '@elemaudio/core': 4.0.1
1655
+ invariant: 2.2.4
1656
+
1607
1657
  '@floating-ui/core@1.8.0':
1608
1658
  dependencies:
1609
1659
  '@floating-ui/utils': 0.2.12
@@ -2011,6 +2061,12 @@ snapshots:
2011
2061
 
2012
2062
  '@tweenjs/tween.js@23.1.3': {}
2013
2063
 
2064
+ '@types/dom-mediacapture-transform@0.1.12':
2065
+ dependencies:
2066
+ '@types/dom-webcodecs': 0.1.13
2067
+
2068
+ '@types/dom-webcodecs@0.1.13': {}
2069
+
2014
2070
  '@types/draco3d@1.4.10': {}
2015
2071
 
2016
2072
  '@types/offscreencanvas@2019.7.3': {}
@@ -2288,6 +2344,8 @@ snapshots:
2288
2344
 
2289
2345
  eventemitter3@4.0.7: {}
2290
2346
 
2347
+ eventemitter3@5.0.4: {}
2348
+
2291
2349
  fastnoise-lite@1.1.1: {}
2292
2350
 
2293
2351
  fdir@6.5.0(picomatch@4.0.7):
@@ -2311,6 +2369,8 @@ snapshots:
2311
2369
 
2312
2370
  hls.js@1.7.3: {}
2313
2371
 
2372
+ howler@2.2.4: {}
2373
+
2314
2374
  i18next-browser-languagedetector@4.3.1:
2315
2375
  dependencies:
2316
2376
  '@babel/runtime': 7.29.7
@@ -2329,6 +2389,10 @@ snapshots:
2329
2389
 
2330
2390
  internmap@2.0.3: {}
2331
2391
 
2392
+ invariant@2.2.4:
2393
+ dependencies:
2394
+ loose-envify: 1.4.0
2395
+
2332
2396
  is-promise@2.2.2: {}
2333
2397
 
2334
2398
  isexe@2.0.0: {}
@@ -2470,6 +2534,11 @@ snapshots:
2470
2534
 
2471
2535
  mathcat@0.0.12: {}
2472
2536
 
2537
+ mediabunny@1.61.6:
2538
+ dependencies:
2539
+ '@types/dom-mediacapture-transform': 0.1.12
2540
+ '@types/dom-webcodecs': 0.1.13
2541
+
2473
2542
  meshline@3.3.1(three@0.186.1):
2474
2543
  dependencies:
2475
2544
  three: 0.186.1
@@ -2653,6 +2722,8 @@ snapshots:
2653
2722
 
2654
2723
  scheduler@0.28.0: {}
2655
2724
 
2725
+ shallowequal@1.1.0: {}
2726
+
2656
2727
  shebang-command@2.0.0:
2657
2728
  dependencies:
2658
2729
  shebang-regex: 3.0.0