@fleox/agent3d 0.2.1 → 0.2.3

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/README.md +11 -10
  2. package/changelog.json +22 -0
  3. package/dist/agent/agent3d.mjs +58 -47
  4. package/dist/agent/chunks/{browser-t_JL_B82.mjs → browser-Br1tURgt.mjs} +21 -2
  5. package/dist/agent/chunks/{check-CBO3Ekx1.mjs → check-CfZcfaPs.mjs} +12 -0
  6. package/dist/agent/chunks/{export-BCI8vKw8.mjs → export-BHugc2H7.mjs} +1 -1
  7. package/dist/agent/chunks/{imageCodec-Dz9PFxi9.mjs → imageCodec-QM0EXQDJ.mjs} +1 -1
  8. package/dist/agent/chunks/{package-BOIyp_2B.mjs → package-fw4h5vsh.mjs} +2 -2
  9. package/dist/agent/chunks/{render-CN4mgGLQ.mjs → render-EHb40avl.mjs} +1 -1
  10. package/dist/agent/chunks/{tools-DT2tetIK.mjs → tools-DKxgjQSJ.mjs} +2 -2
  11. package/dist/runtime/agent3d-runtime.js +2 -2
  12. package/dist/runtime/agent3d-runtime.single.js +2 -2
  13. package/dist/runtime/chunks/catalog--OTp4gjy.js +1 -0
  14. package/dist/runtime/chunks/{generators-D5JUo0jp.js → generators--kOFg1G_.js} +1 -1
  15. package/dist/runtime/chunks/{materials-Dn-bYrZd.js → materials-w3EW0g-7.js} +1 -1
  16. package/dist/runtime/chunks/{model-BCVF3QzB.js → model-DbfZaLni.js} +1 -1
  17. package/dist/runtime/chunks/{params-C2uoUDJ0.js → params-BCNrVCYZ.js} +1 -1
  18. package/dist/runtime/chunks/{postfx-i_J5Vf-l.js → postfx-CFucYRev.js} +1 -1
  19. package/dist/runtime/chunks/{postfx-UgKCbmZs.js → postfx-Cbf_vvOr.js} +1 -1
  20. package/dist/runtime/chunks/{shaders-Dw6zHdu_.js → shaders-Ba3v6Xnj.js} +1 -1
  21. package/dist/runtime/chunks/{svg-CmlFY_8O.js → svg-CfPIQnDG.js} +1 -1
  22. package/dist/runtime/chunks/{text-D1EQpdSU.js → text-BaON-ISS.js} +1 -1
  23. package/dist/studio/assets/{camera-7sEn13L-.js → camera-Be6lnp3k.js} +1 -1
  24. package/dist/studio/assets/{editor-CnbvVkhU.js → editor-Mpnz-b2E.js} +1 -1
  25. package/dist/studio/assets/{game-B04KGAK0.js → game-WMgRSJUD.js} +3 -3
  26. package/dist/studio/assets/{generators-LSni1Yfc.js → generators-DozXE7ta.js} +1 -1
  27. package/dist/studio/assets/{index-3LL5NEIH.js → index-tSGZFEt5.js} +5 -5
  28. package/dist/studio/assets/{model-CNddhwmA.js → model-C2bZTK7-.js} +1 -1
  29. package/dist/studio/assets/{physicsHost-hMU_SDiX.js → physicsHost-CTRsIvfu.js} +1 -1
  30. package/dist/studio/assets/{postfx-BcCZS0Bq.js → postfx-DQtp0JIy.js} +1 -1
  31. package/dist/studio/assets/{runtime-DY_KqD1x.js → runtime-NGp1VdnH.js} +4 -4
  32. package/dist/studio/assets/{shaders-BhMCstyv.js → shaders-BOb6Uter.js} +1 -1
  33. package/dist/studio/assets/{svg-CNKK-h7H.js → svg-CnUMpv_N.js} +1 -1
  34. package/dist/studio/assets/{text-BSPI7dk1.js → text-CGIZs8HE.js} +1 -1
  35. package/dist/studio/index.html +1 -1
  36. package/package.json +2 -2
  37. package/plugin/.claude-plugin/plugin.json +1 -1
  38. package/plugin/skills/agent3d-assets/SKILL.md +24 -24
  39. package/plugin/skills/agent3d-create/SKILL.md +20 -20
  40. package/plugin/skills/agent3d-create/references/art-direction.md +3 -3
  41. package/plugin/skills/agent3d-create/references/recipes.md +6 -6
  42. package/plugin/skills/agent3d-edit/SKILL.md +22 -22
  43. package/plugin/skills/agent3d-edit/references/patch-ops.md +2 -2
  44. package/plugin/skills/agent3d-game/SKILL.md +7 -7
  45. package/plugin/skills/agent3d-publish/SKILL.md +21 -21
  46. package/plugin/skills/agent3d-publish/references/integrations.md +1 -1
  47. package/dist/runtime/chunks/catalog-DL6sgPay.js +0 -1
@@ -1 +0,0 @@
1
- var e=(e,t,n,r,i)=>({name:e,type:`number`,description:t,default:n,min:r,max:i}),t=(e,t,n,r,i)=>({name:e,type:`integer`,description:t,default:n,min:r,max:i}),n=(e,t,n)=>({name:e,type:`boolean`,description:t,default:n}),r=(e,t,n)=>({name:e,type:`color`,description:t,default:n}),i=(e,t,n)=>({name:e,type:`colors`,description:t,default:n}),a=(e,t,n)=>({name:e,type:`vec3`,description:t,default:n}),o=(e,t,n,r)=>({name:e,type:`enum`,description:t,options:n,default:r}),s=t(`segments`,``,32,3,256),c=[{id:`box`,description:``,params:[e(`width`,``,1,0),e(`height`,``,1,0),e(`depth`,``,1,0)],cost:`12`},{id:`roundedBox`,description:``,params:[e(`width`,``,1,0),e(`height`,``,1,0),e(`depth`,``,1,0),e(`radius`,``,.1,0),t(`segments`,``,4,1,16)],cost:`~500`},{id:`sphere`,description:``,params:[e(`radius`,``,.5,0),s,t(`heightSegments`,``,24,2,256)],cost:`segments*heightSegments*2`},{id:`cylinder`,description:``,params:[e(`radiusTop`,``,.5,0),e(`radiusBottom`,``,.5,0),e(`height`,``,1,0),s,n(`openEnded`,``,!1)],cost:`segments*4`},{id:`cone`,description:``,params:[e(`radius`,``,.5,0),e(`height`,``,1,0),s],cost:`segments*2`},{id:`capsule`,description:``,params:[e(`radius`,``,.3,0),e(`length`,``,.6,0),t(`segments`,``,16,2,64)],cost:`~1000`},{id:`torus`,description:``,params:[e(`radius`,``,.5,0),e(`tube`,``,.15,0),t(`radialSegments`,``,24,2),t(`tubularSegments`,``,64,3),e(`arc`,``,360,0,360)],cost:`radialSegments*tubularSegments*2`},{id:`torusKnot`,description:``,params:[e(`radius`,``,.5,0),e(`tube`,``,.15,0),t(`tubularSegments`,``,128,3),t(`radialSegments`,``,16,3),t(`p`,``,2,1),t(`q`,``,3,1)],cost:`tubularSegments*radialSegments*2`},{id:`plane`,description:``,params:[e(`width`,``,1,0),e(`height`,``,1,0),t(`widthSegments`,``,1,1),t(`heightSegments`,``,1,1)],cost:`2`},{id:`circle`,description:``,params:[e(`radius`,``,.5,0),s],cost:`segments`},{id:`ring`,description:``,params:[e(`innerRadius`,``,.3,0),e(`outerRadius`,``,.5,0),s],cost:`segments*2`},{id:`icosahedron`,description:``,params:[e(`radius`,``,.5,0),t(`detail`,``,0,0,6)],cost:`20*4^detail`},{id:`dodecahedron`,description:``,params:[e(`radius`,``,.5,0),t(`detail`,``,0,0,5)],cost:`36`},{id:`octahedron`,description:``,params:[e(`radius`,``,.5,0),t(`detail`,``,0,0,5)],cost:`8`},{id:`tetrahedron`,description:``,params:[e(`radius`,``,.5,0),t(`detail`,``,0,0,5)],cost:`4`},{id:`lathe`,description:``,params:[{name:`points`,type:`array`,description:``,required:!0},s],cost:`points*segments*2`},{id:`extrude`,description:``,params:[{name:`shape`,type:`array`,description:``,required:!0},e(`depth`,``,.2,0),e(`bevel`,``,.02,0)],cost:`~points*20`},{id:`tube`,description:``,params:[{name:`points`,type:`array`,description:``,required:!0},e(`radius`,``,.05,0),t(`tubularSegments`,``,64,2),t(`radialSegments`,``,8,3),n(`closed`,``,!1)],cost:`tubularSegments*radialSegments*2`}],l=[{id:`plastic`,description:``,props:{type:`physical`,color:`#e8e8e8`,roughness:.35,metalness:0,clearcoat:.3}},{id:`matte`,description:``,props:{type:`standard`,color:`#d9d9d9`,roughness:.95,metalness:0}},{id:`clay`,description:``,props:{type:`standard`,color:`#e9dccb`,roughness:.8,metalness:0}},{id:`chrome`,description:``,props:{type:`physical`,color:`#ffffff`,roughness:.05,metalness:1}},{id:`brushedMetal`,description:``,props:{type:`physical`,color:`#c8ccd2`,roughness:.35,metalness:1,anisotropy:.6}},{id:`gold`,description:``,props:{type:`physical`,color:`#ffcf6b`,roughness:.15,metalness:1}},{id:`copper`,description:``,props:{type:`physical`,color:`#e8926a`,roughness:.25,metalness:1}},{id:`glass`,description:``,props:{type:`physical`,color:`#ffffff`,roughness:.02,metalness:0,transmission:1,thickness:.5,ior:1.5}},{id:`frostedGlass`,description:``,props:{type:`physical`,color:`#ffffff`,roughness:.4,metalness:0,transmission:1,thickness:.8,ior:1.4}},{id:`rubber`,description:``,props:{type:`standard`,color:`#2b2b2b`,roughness:1,metalness:0}},{id:`pearl`,description:``,props:{type:`physical`,color:`#f4f1ee`,roughness:.25,metalness:0,iridescence:1,clearcoat:1}},{id:`holographic`,description:``,props:{type:`physical`,color:`#d7e3ff`,roughness:.15,metalness:.9,iridescence:1}},{id:`neon`,description:``,props:{type:`standard`,color:`#ff2fd6`,emissive:`#ff2fd6`,emissiveIntensity:3,roughness:.5}},{id:`toon`,description:``,props:{type:`toon`,color:`#ffb347`}},{id:`flat`,description:``,props:{type:`basic`,color:`#ffffff`}},{id:`lowpoly`,description:``,props:{type:`standard`,color:`#8bc34a`,roughness:.9,flatShading:!0}},{id:`velvet`,description:``,props:{type:`physical`,color:`#7b2d5b`,roughness:.9,sheen:1}},{id:`wireframe`,description:``,props:{type:`basic`,color:`#7cf7ff`,wireframe:!0}},{id:`normal`,description:``,props:{type:`normal`}},{id:`carPaint`,description:``,props:{type:`physical`,color:`#b3121f`,metalness:.6,roughness:.4,clearcoat:1,clearcoatRoughness:.03,normalMap:{procedural:`flakes`,scale:40},normalScale:.2}},{id:`ceramic`,description:``,props:{type:`physical`,color:`#f3efe8`,roughness:.45,metalness:0,clearcoat:1,clearcoatRoughness:.06}},{id:`marble`,description:``,props:{type:`physical`,color:`#ffffff`,roughness:.2,metalness:0,clearcoat:.4,clearcoatRoughness:.1,map:{procedural:`marble`},triplanar:.5}},{id:`terrazzo`,description:``,props:{type:`physical`,color:`#ffffff`,roughness:.45,metalness:0,map:{procedural:`terrazzo`},triplanar:.5}},{id:`wood`,description:``,props:{type:`physical`,color:`#ffffff`,roughness:.5,metalness:0,clearcoat:.5,clearcoatRoughness:.2,map:{procedural:`wood`}}},{id:`carbonFiber`,description:``,props:{type:`physical`,color:`#ffffff`,roughness:.35,metalness:.3,clearcoat:1,clearcoatRoughness:.04,map:{procedural:`carbon`,scale:12},anisotropy:.5}},{id:`leather`,description:``,props:{type:`physical`,color:`#6b3a22`,roughness:.62,metalness:0,sheen:.5,sheenRoughness:.5,sheenColor:`#c49a7a`,bumpMap:{procedural:`voronoi`,scale:60},bumpScale:.6}},{id:`satin`,description:``,props:{type:`physical`,color:`#c9a0dc`,roughness:.4,metalness:0,sheen:1,sheenRoughness:.3,sheenColor:`#ffffff`,anisotropy:.4}},{id:`silk`,description:``,props:{type:`physical`,color:`#f2d7c9`,roughness:.3,metalness:0,sheen:1,sheenRoughness:.2,sheenColor:`#fff4ec`,specularIntensity:.6}},{id:`brushedAluminium`,description:``,props:{type:`physical`,color:`#d9dce1`,roughness:.3,metalness:1,anisotropy:.85,roughnessMap:{procedural:`brushed`,scale:1}}},{id:`ice`,description:``,props:{type:`physical`,color:`#eaf8ff`,roughness:.1,metalness:0,transmission:1,thickness:1.2,ior:1.31,attenuationColor:`#8fd3ff`,attenuationDistance:1.2,bumpMap:{procedural:`noise`,scale:3},bumpScale:.4}},{id:`water`,description:``,props:{type:`physical`,color:`#ffffff`,roughness:.02,metalness:0,transmission:1,thickness:1,ior:1.333,attenuationColor:`#4fc3d9`,attenuationDistance:2}},{id:`diamond`,description:``,props:{type:`physical`,color:`#ffffff`,roughness:0,metalness:0,transmission:1,thickness:2.5,ior:2.33,dispersion:8,specularIntensity:1,envMapIntensity:2.5,attenuationColor:`#dde8ff`,attenuationDistance:3}},{id:`gem`,description:``,props:{type:`physical`,color:`#ffe5ec`,roughness:0,metalness:0,transmission:1,thickness:1,ior:1.77,dispersion:2,attenuationColor:`#e0115f`,attenuationDistance:.5,envMapIntensity:1.4}},{id:`jelly`,description:``,props:{type:`physical`,color:`#ff7aa2`,roughness:.12,metalness:0,transmission:.95,thickness:1.5,ior:1.35,attenuationColor:`#ff2d6f`,attenuationDistance:.6,clearcoat:1,clearcoatRoughness:.1}},{id:`chromeGradient`,description:``,props:{type:`gradient`,gradient:[`#7f5cff`,`#ff5ca8`,`#ffd36e`],metalness:1,roughness:.08}},{id:`soapBubble`,description:``,props:{type:`physical`,color:`#ffffff`,roughness:0,metalness:0,transmission:1,thickness:.05,ior:1.1,iridescence:1,iridescenceIOR:1.33,iridescenceThicknessRange:[120,900],side:`double`}},{id:`mattePastel`,description:``,props:{type:`physical`,color:`#f7c8d8`,roughness:.75,metalness:0,sheen:.35,sheenRoughness:.8}},{id:`emissiveGradient`,description:``,props:{type:`gradient`,gradient:[`#00e5ff`,`#7c4dff`,`#ff3d9a`],emissive:`#ffffff`,emissiveIntensity:1.6,gradientEmissive:!0,roughness:.4}}],u=[{id:`plasma`,description:``,params:[i(`colors`,``,[`#ff006e`,`#8338ec`,`#3a86ff`]),e(`speed`,``,1,0),e(`scale`,``,1,0)]},{id:`waves`,description:``,params:[i(`colors`,``,[`#0b132b`,`#5bc0be`]),e(`speed`,``,1,0),e(`frequency`,``,8,0)]},{id:`noise`,description:``,params:[i(`colors`,``,[`#1b1b3a`,`#ff9f1c`]),e(`speed`,``,.3,0),e(`scale`,``,2,0)]},{id:`hologram`,description:``,params:[r(`color`,``,`#38f9ff`),e(`speed`,``,1,0),e(`lines`,``,80,0)]},{id:`gradientFlow`,description:``,params:[i(`colors`,``,[`#ff7eb3`,`#ff758c`,`#7afcff`,`#feffb7`]),e(`speed`,``,.4,0)]},{id:`toonRim`,description:``,params:[r(`color`,``,`#ffb347`),r(`rim`,``,`#ffffff`),t(`steps`,``,3,1,8)]},{id:`dissolve`,description:``,params:[r(`color`,``,`#ffffff`),r(`edge`,``,`#ff7b00`),e(`progress`,``,0,0,1)]},{id:`gradientMesh`,description:``,params:[i(`colors`,``,[`#ff6ec4`,`#7873f5`,`#4adede`,`#ffd86f`]),e(`speed`,``,.25,0),e(`scale`,``,1,.1),e(`grain`,``,.04,0,1)]},{id:`aurora`,description:``,params:[i(`colors`,``,[`#00ffa3`,`#00b3ff`,`#b400ff`]),r(`background`,``,`#030714`),e(`speed`,``,.3,0),e(`intensity`,``,1.2,0)]},{id:`liquidChrome`,description:``,params:[i(`colors`,``,[`#0a0a12`,`#5a5f7a`,`#e8ecff`,`#9ab8ff`]),e(`speed`,``,.35,0),e(`scale`,``,1.5,.1)]},{id:`nebula`,description:``,params:[i(`colors`,``,[`#1b0b3b`,`#7b2ff7`,`#f72585`,`#4cc9f0`]),e(`speed`,``,.05,0),e(`stars`,``,1,0,3),e(`scale`,``,1,.1)]},{id:`caustics`,description:``,params:[r(`color`,``,`#bff6ff`),r(`background`,``,`#05677d`),e(`speed`,``,.5,0),e(`scale`,``,3,.1),e(`intensity`,``,1.4,0)]},{id:`fresnelGlow`,description:``,params:[r(`color`,``,`#4cc9f0`),r(`core`,``,`#000000`),e(`power`,``,2.5,.1),e(`intensity`,``,1.5,0),e(`pulse`,``,0,0)]},{id:`iridescentFoil`,description:``,params:[e(`speed`,``,.3,0),e(`scale`,``,2,.1),e(`sparkle`,``,.5,0,1),r(`tint`,``,`#ffffff`)]},{id:`lavaLamp`,description:``,params:[i(`colors`,``,[`#2a0845`,`#ff512f`,`#f09819`]),e(`speed`,``,.3,0),e(`scale`,``,1,.1)]},{id:`grainGradient`,description:``,params:[i(`colors`,``,[`#ffb88c`,`#de6262`,`#4b1248`]),e(`angle`,``,30),e(`grain`,``,.06,0,1),e(`speed`,``,0,0)]},{id:`matrixRain`,description:``,params:[r(`color`,``,`#3dff7a`),r(`background`,``,`#000a03`),e(`speed`,``,1,0),e(`columns`,``,40,4,200)]}],d=[e(`scale`,``,1,.05),t(`seed`,``,1),t(`resolution`,``,512,32,2048)],f=[{id:`marble`,description:``,params:[i(`colors`,``,[`#f4f2ee`,`#b9b6b1`,`#5d5a57`]),e(`veins`,``,.6,0,1),e(`turbulence`,``,1,0),...d]},{id:`wood`,description:``,params:[i(`colors`,``,[`#d9a066`,`#a0632f`,`#6b3a17`]),e(`rings`,``,10,1),e(`grain`,``,.5,0,1),...d]},{id:`terrazzo`,description:``,params:[i(`colors`,``,[`#efe9e1`,`#e07a5f`,`#3d405b`,`#81b29a`,`#f2cc8f`]),e(`density`,``,.5,0,1),e(`chipSize`,``,1,.2,4),...d]},{id:`carbon`,description:``,params:[i(`colors`,``,[`#0b0b0d`,`#2a2c31`,`#5b5e66`]),...d]},{id:`noise`,description:``,params:[i(`colors`,``,[`#000000`,`#ffffff`]),t(`octaves`,``,5,1,8),e(`contrast`,``,1,0),...d]},{id:`voronoi`,description:``,params:[i(`colors`,``,[`#ffffff`,`#000000`]),e(`jitter`,``,1,0,1),...d]},{id:`flakes`,description:``,params:[i(`colors`,``,[`#808080`,`#ffffff`]),e(`strength`,``,.6,0,1),...d]},{id:`brushed`,description:``,params:[i(`colors`,``,[`#9a9a9a`,`#d0d0d0`]),e(`streaks`,``,1,.1),...d]},{id:`grid`,description:``,params:[i(`colors`,``,[`#0b1d3a`,`#6fd3ff`]),t(`cells`,``,8,1,256),e(`lineWidth`,``,.04,0,.5),...d]},{id:`checker`,description:``,params:[i(`colors`,``,[`#ffffff`,`#222222`]),t(`cells`,``,8,1,256),...d]},{id:`stripes`,description:``,params:[i(`colors`,``,[`#ffffff`,`#ff4d6d`]),t(`count`,``,8,1,256),e(`angle`,``,0),e(`softness`,``,.05,0,.5),...d]},{id:`dots`,description:``,params:[i(`colors`,``,[`#ffffff`,`#ff4d6d`]),t(`cells`,``,8,1,256),e(`radius`,``,.3,0,.5),...d]}],p=[e(`intensity`,``,1,0),e(`rotation`,``,0),n(`castShadow`,``,!0),e(`scale`,``,1,.05),r(`color`,``)],m=[{id:`studio-3point`,description:``,params:p},{id:`softbox`,description:``,params:p},{id:`product-top`,description:``,params:p},{id:`rim`,description:``,params:p},{id:`dramatic`,description:``,params:p},{id:`golden-hour`,description:``,params:p},{id:`noon`,description:``,params:p},{id:`overcast`,description:``,params:p},{id:`neon`,description:``,params:p},{id:`moonlight`,description:``,params:p}],h=a(`axis`,``,[0,1,0]),g=[{id:`rotate`,description:``,params:[h,e(`speed`,``,45)],example:{type:`rotate`,axis:[0,1,0],speed:30}},{id:`float`,description:``,params:[e(`amplitude`,``,.15,0),e(`speed`,``,.5,0),e(`phase`,``,0)]},{id:`bob`,description:``,params:[e(`height`,``,.3,0),e(`speed`,``,1.5,0)]},{id:`pulse`,description:``,params:[e(`amount`,``,.08,0),e(`speed`,``,1,0)]},{id:`wobble`,description:``,params:[e(`amount`,``,.08,0),e(`speed`,``,2,0)]},{id:`sway`,description:``,params:[a(`axis`,``,[0,0,1]),e(`angle`,``,8,0),e(`speed`,``,.5,0)]},{id:`orbit`,description:``,params:[a(`center`,``,[0,0,0]),e(`radius`,``,2,0),e(`speed`,``,30),h,n(`faceDirection`,``,!1),e(`phase`,``,0)]},{id:`path`,description:``,params:[{name:`points`,type:`array`,description:``,required:!0},e(`duration`,``,5,0),n(`loop`,``,!0),n(`faceDirection`,``,!0)]},{id:`followPointer`,description:``,params:[e(`strength`,``,.5,0),e(`smoothing`,``,.9,0,.99),o(`mode`,``,[`move`,`rotate`,`both`],`rotate`)]},{id:`lookAtPointer`,description:``,params:[e(`maxAngle`,``,35,0),e(`smoothing`,``,.85,0,.99)]},{id:`hoverScale`,description:``,params:[e(`scale`,``,1.15,0),e(`smoothing`,``,.8,0,.99)]},{id:`hoverLift`,description:``,params:[e(`height`,``,.2),e(`tilt`,``,10)]},{id:`clickBounce`,description:``,params:[e(`amount`,``,.25,0)]},{id:`spinOnClick`,description:``,params:[h,e(`duration`,``,.8,0),o(`trigger`,``,[`click`,`hover`],`click`)]},{id:`scrollRotate`,description:``,params:[h,e(`degrees`,``,360)]},{id:`scrollMove`,description:``,params:[a(`offset`,``,[0,2,0])]},{id:`drift`,description:``,params:[a(`area`,``,[1,1,1]),e(`speed`,``,.3,0),t(`seed`,``,1)]},{id:`blink`,description:``,params:[e(`interval`,``,3,0),e(`duration`,``,.15,0),n(`random`,``,!0)]},{id:`colorCycle`,description:``,params:[i(`colors`,``,[`#ff006e`,`#8338ec`,`#3a86ff`]),e(`speed`,``,.5,0),n(`emissive`,``,!1)]},{id:`flicker`,description:``,params:[e(`amount`,``,.3,0,1),e(`speed`,``,8,0)]},{id:`billboard`,description:``,params:[n(`lockY`,``,!0)]},{id:`appear`,description:``,params:[o(`effect`,``,[`scale`,`fade`,`rise`,`drop`,`spin`],`scale`),e(`duration`,``,.8,0),o(`ease`,``,[`outBack`,`outCubic`,`outElastic`,`outBounce`],`outBack`)]},{id:`magnet`,description:``,params:[e(`radius`,``,.25,0,1),e(`strength`,``,.4,0)]},{id:`spring`,description:``,params:[e(`strength`,``,.4,0),e(`stiffness`,``,120,1),e(`damping`,``,12,0),e(`mass`,``,1,.01),o(`mode`,``,[`move`,`rotate`,`both`],`move`),e(`angle`,``,15,0)],example:{type:`spring`,mode:`both`,strength:.3,damping:9}},{id:`parallax`,description:``,params:[e(`depth`,``,.5),e(`pointer`,``,.3),e(`scroll`,``,0),e(`smoothing`,``,.9,0,.99)],example:{type:`parallax`,depth:1,pointer:.4}},{id:`tilt`,description:``,params:[e(`maxAngle`,``,12,0,60),e(`scale`,``,1.04,0),e(`lift`,``,.1),n(`hoverOnly`,``,!0),n(`reverse`,``,!1),e(`smoothing`,``,.86,0,.99)]},{id:`breathe`,description:``,params:[e(`amount`,``,.04,0),e(`period`,``,4,.1),e(`rise`,``,.02),e(`phase`,``,0)]},{id:`noise`,description:``,params:[a(`amplitude`,``,[.1,.1,.05]),a(`rotation`,``,[3,3,2]),e(`speed`,``,.3,0),t(`seed`,``,1)]},{id:`lookAt`,description:``,params:[{name:`target`,type:`string`,description:`Object id or "camera" (default).`,default:`camera`},a(`point`,``),e(`smoothing`,``,.85,0,.99),n(`lockY`,``,!1)],example:{type:`lookAt`,target:`hero`,lockY:!0}}],_=[{id:`terrain`,description:``,params:[e(`size`,``,40,0),t(`resolution`,``,96,8,512),e(`height`,``,6,0),e(`scale`,``,1,0),t(`octaves`,``,5,1,8),o(`shape`,``,[`hills`,`mountains`,`island`,`dunes`,`canyon`,`basin`,`valley`,`flat`],`hills`),e(`edgeFalloff`,``,void 0,0,1),i(`palette`,``,[`#e2c290`,`#6aa84f`,`#38761d`,`#7f6a5d`,`#ffffff`]),n(`lowpoly`,``,!0),e(`waterLevel`,``,.6),r(`waterColor`,``,`#3d9bd6`),n(`waterPlane`,``,!0),e(`snowLine`,``,1,0,1),e(`snowHeight`,``,void 0,0)],cost:`resolution^2*2`,material:`The ground (not the water plane). Without colour / preset / map the palette bands are kept (e.g. { "roughness": 0.6, "flatShading": false }).`},{id:`trees`,description:``,params:[t(`count`,``,30,1,2e3),a(`area`,``,[30,0,30]),o(`style`,``,[`pine`,`round`,`palm`,`birch`,`dead`,`mixed`],`mixed`),e(`minScale`,``,.7,0),e(`maxScale`,``,1.4,0),i(`leafColors`,``,[`#2e7d32`,`#43a047`,`#66bb6a`]),r(`trunkColor`,``,`#6d4c41`),n(`onTerrain`,``,!0),n(`sway`,``,!0)],cost:`count*~150`},{id:`rocks`,description:``,params:[t(`count`,``,20,1,2e3),a(`area`,``,[20,0,20]),e(`minSize`,``,.3,0),e(`maxSize`,``,1.5,0),i(`colors`,``,[`#8d8d8d`,`#757575`,`#9e9e9e`]),n(`onTerrain`,``,!0)],cost:`count*80`,material:`Every rock. Without colour / preset / map the per-rock colours are kept.`},{id:`grass`,description:``,params:[t(`count`,``,5e3,1,1e5),a(`area`,``,[20,0,20]),e(`height`,``,.4,0),i(`colors`,``,[`#2d6a1f`,`#8bc34a`]),e(`wind`,``,.5,0),n(`onTerrain`,``,!0)],cost:`count*1`},{id:`flowers`,description:``,params:[t(`count`,``,200,1,2e4),a(`area`,``,[20,0,20]),i(`colors`,``,[`#ff5d8f`,`#ffd166`,`#ffffff`,`#9b5de5`]),n(`onTerrain`,``,!0)],cost:`count*40`},{id:`water`,description:``,params:[e(`size`,``,40,0),r(`color`,``,`#1e6fa8`),r(`shallowColor`,``,`#5ec8e5`),r(`foamColor`,``,`#ffffff`),e(`waveHeight`,``,.15,0),e(`waveSpeed`,``,1,0),e(`foam`,``,.6,0),e(`ripples`,``,1,0),e(`depthRange`,``,3,.01),e(`opacity`,``,.9,0,1),n(`lowpoly`,``,!1),n(`reflections`,``,!1),e(`reflectivity`,``,.8,0,1)],cost:`~20000`},{id:`clouds`,description:``,params:[t(`count`,``,8,1,200),a(`area`,``,[40,6,40]),e(`height`,``,10),e(`size`,``,1,0),r(`color`,``,`#ffffff`),r(`shadowColor`,``,`#a9bdd6`),e(`speed`,``,.3,0),o(`style`,``,[`puffy`,`lowpoly`],`puffy`)],cost:`count*1500`},{id:`city`,description:``,params:[t(`blocks`,``,6,1,40),e(`blockSize`,``,4,0),e(`street`,``,1.2,0),e(`minHeight`,``,1,0),e(`maxHeight`,``,8,0),i(`colors`,``,[`#e0e1dd`,`#778da9`,`#415a77`,`#ffd6a5`]),n(`windows`,``,!0),r(`windowColor`,``,`#ffe8a3`),n(`trees`,``,!0)],cost:`blocks^2*4*12`},{id:`character`,description:``,params:[o(`style`,``,[`humanoid`,`astronaut`,`robot`,`blob`,`cat`,`fox`,`bird`,`ghost`],`humanoid`),r(`skin`,``),r(`shirt`,``),r(`pants`,``),r(`hair`,``),r(`accent`,``),o(`expression`,``,[`happy`,`laugh`,`neutral`,`surprised`,`wink`,`sad`,`angry`,`sleepy`],`happy`),o(`hairStyle`,``,[`short`,`long`,`bob`,`bun`,`ponytail`,`spiky`,`curly`,`none`],`short`),o(`outfit`,``,[`tshirt`,`hoodie`,`dress`,`suit`,`overalls`],`tshirt`),{name:`accessories`,type:`array`,description:``,default:[],options:[`cap`,`beanie`,`glasses`,`sunglasses`,`headphones`,`backpack`,`scarf`,`bowtie`,`crown`]},o(`animation`,``,[`idle`,`walk`,`run`,`wave`,`jump`,`dance`,`cheer`,`celebrate`,`sit`,`point`,`talk`,`none`],`idle`),e(`animationSpeed`,``,1,0),e(`height`,``,1.8,0),o(`shading`,``,[`smooth`,`lowpoly`,`toon`],`smooth`),n(`eyesFollowPointer`,``,!1)],cost:`~14000`},{id:`planet`,description:``,params:[e(`radius`,``,2,0),i(`palette`,``,[`#2a6f97`,`#52b788`,`#8d6e63`,`#ffffff`]),e(`landAmount`,``,.45,0,1),n(`rings`,``,!1),r(`ringColor`,``,`#e9c46a`),n(`atmosphere`,``,!0),r(`atmosphereColor`,``,`#8ecae6`),t(`detail`,``,5,1,7),e(`spin`,``,0)],cost:`20*4^detail`,material:`The globe surface (ocean + land; rings and atmosphere keep theirs). Without colour / preset / map the palette is kept.`},{id:`starfield`,description:``,params:[t(`count`,``,3e3,1,5e4),e(`radius`,``,80,0),i(`colors`,``,[`#ffffff`,`#cfe2ff`,`#ffe8c2`]),e(`size`,``,.25,0),n(`twinkle`,``,!0)],cost:`count`},{id:`blob`,description:``,params:[e(`radius`,``,1.2,0),e(`noise`,``,.3,0),e(`speed`,``,.4,0),t(`detail`,``,64,8,256),i(`colors`,``,[`#ff7eb3`,`#a78bfa`,`#60a5fa`,`#5eead4`])],cost:`detail^2*2`,material:`The whole blob; the morph keeps running with any material, shaders included (e.g. { "type": "shader", "shader": "gradientFlow" }, { "preset": "chrome" }). Without colour / preset / map the colour ramp is kept (e.g. { "type": "toon" }).`},{id:`waveGrid`,description:``,params:[t(`columns`,``,60,2,400),t(`rows`,``,30,2,400),e(`spacing`,``,.3,0),e(`amplitude`,``,.5,0),e(`speed`,``,1,0),o(`shape`,``,[`dots`,`bars`,`lines`],`dots`),i(`colors`,``,[`#3a86ff`,`#ff006e`]),n(`pointerRipple`,``,!0)],cost:`columns*rows*2`},{id:`maze`,description:``,params:[t(`columns`,``,10,2,60),t(`rows`,``,10,2,60),e(`cellSize`,``,2,0),e(`wallHeight`,``,1.5,0),r(`wallColor`,``,`#5e548e`),r(`floorColor`,``,`#e0b1cb`),n(`bodies`,``,!0)],cost:`columns*rows*24`},{id:`road`,description:``,params:[e(`width`,``,6,0),e(`length`,``,60,0),t(`lanes`,``,3,1,8),r(`color`,``,`#3d405b`),r(`lineColor`,``,`#f4f1de`),e(`speed`,``,10,0),i(`curbColors`,``,[`#e63946`,`#f1faee`]),n(`verge`,``,!0),i(`vergeColor`,``,[`#7cc45a`,`#6bb44c`])],cost:`~200`},{id:`birds`,description:``,params:[t(`count`,``,12,1,500),o(`mode`,``,[`orbit`,`path`,`drift`],`orbit`),a(`area`,``,[40,4,30]),{name:`points`,type:`array`,description:``,default:[]},e(`heading`,``,0),e(`speed`,``,4,0),o(`formation`,``,[`loose`,`v`],`loose`),e(`spread`,``,3,0),e(`size`,``,1,.01),r(`color`,``,`#22252e`),e(`flapSpeed`,``,2.5,0)],example:{count:9,mode:`drift`,formation:`v`,area:[80,2,0],heading:10,speed:5,size:1.2},cost:`count*18`},{id:`floatingIsland`,description:``,params:[e(`radius`,``,3,.1),e(`depth`,``,3.6,.1),e(`hills`,``,1,0,4),i(`grassColors`,``,[`#4f9a3a`,`#7cc24a`,`#b5dd6a`]),r(`dirtColor`,``,`#8a5a3c`),i(`rockColors`,``,[`#7d6b5e`,`#93806f`,`#6a5a52`,`#a08c76`]),t(`trees`,``,6,0,200),o(`treeStyle`,``,[`pine`,`round`,`palm`,`birch`,`dead`,`mixed`],`round`),i(`leafColors`,``,[`#2e7d32`,`#43a047`,`#7cb342`]),t(`rocks`,``,5,0,200),t(`flowers`,``,60,0,5e3),t(`grass`,``,1500,0,3e4),n(`waterfall`,``,!0),r(`waterColor`,``,`#4fc3f7`),t(`debris`,``,6,0,100),e(`float`,``,.12,0),n(`lowpoly`,``,!0)],cost:`~6000+trees*150+grass+flowers*40`,material:`The island body (top + underside). Without colour / preset / map the vertex colours are kept.`},{id:`globe`,description:``,params:[e(`radius`,``,2,.1),t(`dots`,``,12e3,200,6e4),n(`continents`,``,!0),r(`dotColor`,``,`#7dd3fc`),r(`oceanDotColor`,``,`#0b1630`),r(`baseColor`,``,`#0b1630`),e(`dotSize`,``,1,0),{name:`points`,type:`array`,description:``,default:[]},{name:`arcs`,type:`array`,description:``,default:[]},r(`arcColor`,``,`#f472b6`),e(`arcSpeed`,``,1,0),e(`arcWidth`,``,1,0),r(`markerColor`,``,`#fde68a`),e(`markerSize`,``,1,0),n(`atmosphere`,``,!0),r(`atmosphereColor`,``,`#38bdf8`),e(`spin`,``,6),e(`longitude`,``,0),e(`tilt`,``,12)],cost:`dots*0.35*6+~8000`,material:`The globe body sphere (dots, arcs and atmosphere keep theirs).`},{id:`crystals`,description:``,params:[t(`count`,``,14,1,400),e(`size`,``,1.2,0),i(`colors`,``,[`#7c3aed`,`#22d3ee`,`#f0abfc`]),o(`layout`,``,[`cluster`,`ring`,`scatter`],`cluster`),e(`spread`,``,1,0),e(`glow`,``,.8,0),e(`pulse`,``,1,0),e(`opacity`,``,1,0,1),n(`base`,``,!0),r(`baseColor`,``,`#4b4560`)],cost:`count*40+~600`,material:`The crystals (not the base). Without colour / preset / map the gradients are kept.`},{id:`galaxy`,description:``,params:[t(`count`,``,4e4,100,3e5),e(`radius`,``,6,.1),t(`arms`,``,3,1,8),e(`twist`,``,5,0),e(`thickness`,``,.05,0),r(`coreColor`,``,`#ffd8a8`),r(`armColor`,``,`#6d8bff`),r(`accentColor`,``,`#ff7ac8`),e(`size`,``,.035,0),e(`speed`,``,.3),e(`coreGlow`,``,.9,0,1)],cost:`count`},{id:`bars3d`,description:``,params:[{name:`data`,type:`array`,description:``,default:[3,5,4,7,6,9,8]},e(`barWidth`,``,.6,.01),e(`gap`,``,.25,0),e(`maxHeight`,``,3,.01),i(`colors`,``,[`#93c5fd`,`#6366f1`,`#c026d3`]),o(`colorBy`,``,[`value`,`row`,`column`],`value`),o(`shape`,``,[`rounded`,`box`,`cylinder`],`rounded`),o(`animation`,``,[`grow`,`wave`,`none`],`grow`),e(`duration`,``,1.6,.01),n(`base`,``,!0),r(`baseColor`,``,`#eef2ff`)],cost:`dataCells*1000+~600`,material:`Every bar (per-bar colours are kept as instance colours).`},{id:`abstractShapes`,description:``,params:[t(`count`,``,22,1,300),a(`area`,``,[10,4,2]),i(`colors`,``,[`#ff8fab`,`#ffd166`,`#06d6a0`,`#118ab2`,`#a78bfa`,`#ff6b6b`]),{name:`shapes`,type:`array`,description:``,options:[`sphere`,`torus`,`ring`,`pill`,`cone`,`cube`,`halfDisc`,`squiggle`,`triangle`,`star`]},e(`minSize`,``,.5,0),e(`maxSize`,``,1.6,0),o(`style`,``,[`matte`,`glossy`,`toon`],`matte`),e(`motion`,``,1,0)],cost:`count*1500`,material:`Every shape (per-shape palette colours are kept as instance colours).`}],v=[t(`count`,``,void 0,1,2e5),a(`area`,``),{name:`size`,type:`number`,description:``,min:0},{name:`color`,type:`colors`,description:`A colour or a list of colours (each particle picks one), e.g. "#ffffff" or ["#ff006e", "#ffbe0b"].`},e(`speed`,``,void 0,0),a(`direction`,``),e(`spread`,``,void 0,0,1),{name:`lifetime`,type:`number`,description:``,min:0},e(`opacity`,``,void 0,0,1),o(`blending`,``,[`normal`,`additive`]),o(`shape`,``,[`point`,`soft`,`square`,`circle`,`star`,`spark`,`streak`,`heart`,`bubble`,`smoke`,`petal`,`leaf`,`ring`]),t(`seed`,``)],y=[{id:`stars`,description:``,params:v},{id:`snow`,description:``,params:v},{id:`rain`,description:``,params:v},{id:`fireflies`,description:``,params:v},{id:`confetti`,description:``,params:v},{id:`sparks`,description:``,params:v},{id:`dust`,description:``,params:v},{id:`bubbles`,description:``,params:v},{id:`embers`,description:``,params:v},{id:`hearts`,description:``,params:v},{id:`magic`,description:``,params:v},{id:`smoke`,description:``,params:v},{id:`fire`,description:``,params:v},{id:`petals`,description:``,params:v},{id:`leaves`,description:``,params:v},{id:`galaxyDust`,description:``,params:v},{id:`bokeh`,description:``,params:v}],b=[`none`,`cinematic`,`teal-orange`,`warm`,`cool`,`bleach`,`noir`,`vintage`,`pastel`],x=[`cinematic`,`product`,`dreamy`,`neon`,`retro`,`clean`],S={cinematic:{description:``,values:{contrast:1.12,saturation:.92,vibrance:.1,shadows:`#2f6f86`,highlights:`#ffb27a`,toning:.32,lift:.015,gain:1.02}},"teal-orange":{description:``,values:{contrast:1.18,saturation:1.05,vibrance:.2,shadows:`#1b6f8a`,highlights:`#ff9a4a`,toning:.55,gain:1.03}},warm:{description:``,values:{temperature:.3,tint:.04,saturation:1.06,contrast:1.05,highlights:`#ffcf8f`,toning:.2}},cool:{description:``,values:{temperature:-.3,saturation:.96,contrast:1.06,shadows:`#2d5c9e`,toning:.22}},bleach:{description:``,values:{bleach:.65,saturation:.7,contrast:1.2}},noir:{description:``,values:{saturation:0,contrast:1.35,lift:-.02,gain:1.06}},vintage:{description:``,values:{saturation:.78,contrast:.92,lift:.07,gain:.96,temperature:.15,shadows:`#4f6a5a`,highlights:`#ffe0ae`,toning:.35}},pastel:{description:``,values:{saturation:.82,contrast:.86,lift:.08,gamma:1.08,highlights:`#ffe3ef`,shadows:`#8a9fd8`,toning:.25}}},C={cinematic:{description:``,effects:[{type:`ao`,intensity:.9,radius:.6},{type:`bloom`,strength:.25,radius:.6,threshold:2.2,smoothing:.4},{type:`grading`,look:`cinematic`},{type:`vignette`,offset:1,darkness:.75},{type:`film`,intensity:.06},{type:`taa`,samples:8}]},product:{description:``,effects:[{type:`ao`,intensity:1.1,radius:.5},{type:`bloom`,strength:.15,radius:.5,threshold:2.5,smoothing:.4},{type:`grading`,contrast:1.07,saturation:1.04,vibrance:.1},{type:`sharpen`,amount:.25},{type:`vignette`,offset:1.1,darkness:.4},{type:`taa`,samples:8}]},dreamy:{description:``,effects:[{type:`bloom`,strength:.45,radius:.85,threshold:1,smoothing:.6},{type:`grading`,look:`pastel`},{type:`chromatic`,amount:.0015},{type:`vignette`,offset:1,darkness:.5},{type:`film`,intensity:.04}]},neon:{description:``,effects:[{type:`bloom`,strength:1.3,radius:.55,threshold:.55,smoothing:.2},{type:`lensflare`,intensity:.45,threshold:1.4,streaks:1.2,ghosts:.2,halo:.1},{type:`grading`,contrast:1.15,saturation:1.2,vibrance:.2},{type:`chromatic`,amount:.001},{type:`vignette`,offset:.95,darkness:.95}]},retro:{description:``,effects:[{type:`grading`,look:`vintage`},{type:`film`,intensity:.3,scanlines:.25},{type:`chromatic`,amount:.0025,radial:!1},{type:`vignette`,offset:.9,darkness:1.2},{type:`bloom`,strength:.3,radius:.6,threshold:1.6,smoothing:.4}]},clean:{description:``,effects:[{type:`grading`,contrast:1.04,saturation:1.02},{type:`sharpen`,amount:.15},{type:`vignette`,offset:1.2,darkness:.25},{type:`taa`,samples:8}]}},w=[{id:`look`,description:"Named look preset expanding into a tuned stack (`details.presets` lists exactly what each one expands to). Effects listed next to it override the matching expanded entry param by param.",params:[o(`preset`,``,x,`cinematic`),e(`intensity`,``,1,0,1)],gpu:`medium`,example:{type:`look`,preset:`cinematic`},details:{presets:C}},{id:`bloom`,description:``,params:[e(`strength`,``,.8,0),e(`radius`,``,.4,0),e(`threshold`,``,.85,0),e(`smoothing`,``,.1,0,1)],gpu:`medium`},{id:`ao`,description:``,params:[e(`intensity`,``,1,0,2),e(`radius`,``,.6,.01,10),e(`thickness`,``,1,.01,10),e(`falloff`,``,1,0,1)],gpu:`high`,example:{type:`ao`,intensity:1,radius:.6}},{id:`outline`,description:``,params:[r(`color`,``,`#000000`),e(`thickness`,``,1,0)],gpu:`medium`},{id:`godrays`,description:``,params:[{name:`source`,type:`string`,description:`Where the rays come from: "auto" (sky sun, else the first directional / spot light, else top centre), "sun", or a light id.`,default:`auto`},e(`intensity`,``,.6,0,4),e(`length`,``,.85,0,1),e(`decay`,``,.96,.5,1),r(`color`,``),e(`size`,``,.1,0,1)],gpu:`medium`,example:{type:`godrays`,intensity:.7}},{id:`dof`,description:``,params:[e(`focus`,``,8,0),{name:`focusOn`,type:`string`,description:``},e(`aperture`,``,.002,0),e(`maxblur`,``,.01,0,.1)],gpu:`high`},{id:`lensflare`,description:``,params:[e(`intensity`,``,.5,0,4),e(`threshold`,``,1.2,0),e(`streaks`,``,1,0,4),e(`ghosts`,``,.5,0,4),e(`halo`,``,.3,0,4),r(`tint`,``,`#9fc4ff`)],gpu:`medium`,example:{type:`lensflare`,intensity:.6}},{id:`fxaa`,description:``,params:[],gpu:`low`},{id:`smaa`,description:``,params:[],gpu:`medium`},{id:`taa`,description:``,params:[t(`samples`,``,8,2,64)],gpu:`low`,example:{type:`taa`,samples:8}},{id:`tiltshift`,description:``,params:[e(`focus`,``,.5,0,1),e(`width`,``,.18,0,1),e(`blur`,``,1,0,4)],gpu:`medium`},{id:`pixelate`,description:``,params:[t(`pixelSize`,``,4,1,32)],gpu:`low`},{id:`halftone`,description:``,params:[e(`size`,``,6,2,64),e(`angle`,``,45),n(`mono`,``,!1)],gpu:`low`},{id:`ascii`,description:``,params:[e(`size`,``,8,4,64),n(`mono`,``,!1),r(`color`,``,`#33ff88`)],gpu:`low`},{id:`glitch`,description:``,params:[e(`amount`,``,.5,0,1),e(`speed`,``,1,0,20)],gpu:`low`},{id:`chromatic`,description:``,params:[e(`amount`,``,.002,0,.05),n(`radial`,``,!0)],gpu:`low`},{id:`sharpen`,description:``,params:[e(`amount`,``,.3,0,2)],gpu:`low`},{id:`grading`,description:``,params:[o(`look`,``,b,`none`),e(`intensity`,``,1,0,1),e(`exposure`,``,0,-5,5),e(`contrast`,``,1,0,3),e(`saturation`,``,1,0,3),e(`vibrance`,``,0,-1,1),e(`temperature`,``,0,-1,1),e(`tint`,``,0,-1,1),e(`lift`,``,0,-.5,.5),e(`gamma`,``,1,.2,5),e(`gain`,``,1,0,3),r(`shadows`,``),r(`highlights`,``),e(`toning`,``,0,0,1),e(`bleach`,``,0,0,1)],gpu:`low`,example:{type:`grading`,look:`teal-orange`,intensity:.8},details:{looks:S}},{id:`vignette`,description:``,params:[e(`offset`,``,1,0),e(`darkness`,``,1.1,0),r(`color`,``,`#000000`)],gpu:`low`},{id:`film`,description:``,params:[e(`intensity`,``,.35,0,1),n(`grayscale`,``,!1),e(`scanlines`,``,0,0,1),e(`size`,``,1.5,.5,8)],gpu:`low`}],T=[{id:`sans-bold`,description:``,params:[]},{id:`sans`,description:``,params:[]},{id:`inter-black`,description:``,params:[]},{id:`montserrat-extrabold`,description:``,params:[]},{id:`space-grotesk-bold`,description:``,params:[]},{id:`bebas-neue`,description:``,params:[]},{id:`anton`,description:``,params:[]},{id:`serif-bold`,description:``,params:[]},{id:`serif`,description:``,params:[]},{id:`mono`,description:``,params:[]},{id:`display`,description:``,params:[]},{id:`pacifico`,description:``,params:[]},{id:`lobster`,description:``,params:[]}],E=[{id:`coin`,description:``,params:[]},{id:`jump`,description:``,params:[]},{id:`hit`,description:``,params:[]},{id:`explosion`,description:``,params:[]},{id:`click`,description:``,params:[]},{id:`powerup`,description:``,params:[]},{id:`laser`,description:``,params:[]},{id:`win`,description:``,params:[]},{id:`lose`,description:``,params:[]},{id:`whoosh`,description:``,params:[]},{id:`ambient-pad`,description:``,params:[]},{id:`chiptune-loop`,description:``,params:[]}],D={geometries:c,materialPresets:l,shaders:u,textures:f,lightRigs:m,behaviours:g,generators:_,particlePresets:y,instanceLayouts:[{id:`grid`,description:``,params:[{name:`count`,type:`vec3`,description:``,required:!0},{name:`spacing`,type:`vec3`,description:``,required:!0}],cost:`count[0]*count[1]*count[2] * geometry`,example:{type:`grid`,count:[8,1,8],spacing:[1.2,0,1.2]}},{id:`scatter`,description:``,params:[{...t(`count`,``,void 0,1,2e5),required:!0},{name:`area`,type:`vec3`,description:``,required:!0},e(`minScale`,``,1,0),e(`maxScale`,``,1,0),n(`randomRotation`,``,!1),t(`seed`,``)],cost:`count * geometry`,example:{type:`scatter`,count:200,area:[20,0,20],minScale:.6,maxScale:1.4,randomRotation:!0,seed:3}},{id:`circle`,description:``,params:[{...t(`count`,``,void 0,1,2e5),required:!0},{...e(`radius`,``,void 0,0),required:!0}],cost:`count * geometry`,example:{type:`circle`,count:12,radius:3}},{id:`list`,description:``,params:[{name:`items`,type:`array`,description:``,required:!0}],cost:`items * geometry`,example:{type:`list`,items:[{position:[-1,0,0]},{position:[1,0,0],rotation:[0,45,0],scale:1.5}]}}],postfx:w,fonts:T,sounds:E};function O(e,t){return D[e].find(e=>e.id===t)}export{l as a,f as c,m as i,O as l,c as n,C as o,S as r,u as s,_ as t};