@fleox/agent3d 0.0.0-stage → 0.2.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 (455) hide show
  1. package/LICENSE +143 -0
  2. package/README.md +172 -2
  3. package/changelog.json +56 -0
  4. package/dist/agent/agent3d.mjs +11242 -0
  5. package/dist/agent/chunks/assets-BUUM9TUB.mjs +2448 -0
  6. package/dist/agent/chunks/browser-t_JL_B82.mjs +226 -0
  7. package/dist/agent/chunks/cdp-CaKRRzMX.mjs +177 -0
  8. package/dist/agent/chunks/check-CBO3Ekx1.mjs +971 -0
  9. package/dist/agent/chunks/export-BCI8vKw8.mjs +1130 -0
  10. package/dist/agent/chunks/gif-DQznzHTL.mjs +319 -0
  11. package/dist/agent/chunks/gltf-f_f0-OiV.mjs +207 -0
  12. package/dist/agent/chunks/imageCodec-BpDU9Lsq.mjs +101 -0
  13. package/dist/agent/chunks/jsonPath-DUCe1JpS.mjs +155 -0
  14. package/dist/agent/chunks/meshoptimizer-C-tN9jn5.mjs +1165 -0
  15. package/dist/agent/chunks/mp4-aOALfp3s.mjs +130 -0
  16. package/dist/agent/chunks/objects-DBAws7uf.mjs +53 -0
  17. package/dist/agent/chunks/optimizeSizing-CkZ3fZRp.mjs +540 -0
  18. package/dist/agent/chunks/package-Ck7_Nszg.mjs +75 -0
  19. package/dist/agent/chunks/png-DXfSGJZt.mjs +91 -0
  20. package/dist/agent/chunks/render-Cbuhz5uW.mjs +1511 -0
  21. package/dist/agent/chunks/rolldown-runtime-ebOQtxsr.mjs +18 -0
  22. package/dist/agent/chunks/scene-BgajNvBf.mjs +444 -0
  23. package/dist/agent/chunks/server-CACCerkZ.mjs +237 -0
  24. package/dist/agent/chunks/suggest-Cpcgv1RP.mjs +46 -0
  25. package/dist/agent/chunks/tools-DT2tetIK.mjs +1412 -0
  26. package/dist/agent/chunks/tree-BrNYGui2.mjs +75 -0
  27. package/dist/agent/chunks/webpAnim-qaq9YgKl.mjs +132 -0
  28. package/dist/runtime/agent3d-runtime.js +373 -0
  29. package/dist/runtime/agent3d-runtime.single.js +7360 -0
  30. package/dist/runtime/chunks/BufferGeometryUtils-Re3wQkXp.js +1 -0
  31. package/dist/runtime/chunks/EXRLoader-Bzm84si5.js +1 -0
  32. package/dist/runtime/chunks/FontLoader-BocwqK8V.js +2 -0
  33. package/dist/runtime/chunks/GLTFLoader-DHp1wv6J.js +1 -0
  34. package/dist/runtime/chunks/GroundedSkybox-esvlRCO0.js +1 -0
  35. package/dist/runtime/chunks/HDRLoader-DHrHp8fs.js +5 -0
  36. package/dist/runtime/chunks/OrbitControls-sjN2MF0e.js +1 -0
  37. package/dist/runtime/chunks/RectAreaLightUniformsLib-_mZ62yWn.js +1 -0
  38. package/dist/runtime/chunks/RoomEnvironment-CL4UR6ZW.js +1 -0
  39. package/dist/runtime/chunks/RoundedBoxGeometry-x-ot8ZSh.js +1 -0
  40. package/dist/runtime/chunks/SVGLoader-hRF0EwD-.js +1 -0
  41. package/dist/runtime/chunks/SkeletonUtils-DHlReJx3.js +1 -0
  42. package/dist/runtime/chunks/Sky-BrLN9Fk5.js +243 -0
  43. package/dist/runtime/chunks/audio-DbVNbf-r.js +1 -0
  44. package/dist/runtime/chunks/catalog-DL6sgPay.js +1 -0
  45. package/dist/runtime/chunks/easing-CXSz2e6P.js +1 -0
  46. package/dist/runtime/chunks/extrude-m04mghOS.js +1 -0
  47. package/dist/runtime/chunks/game-BoG2S6g4.js +20 -0
  48. package/dist/runtime/chunks/generators-OHhFCc2E.js +331 -0
  49. package/dist/runtime/chunks/materials-C2uffFEd.js +107 -0
  50. package/dist/runtime/chunks/meshGradient.glsl-BMatplLA.js +88 -0
  51. package/dist/runtime/chunks/meshopt_decoder.module-DXTYc6wn.js +1 -0
  52. package/dist/runtime/chunks/model-D-4xZz21.js +1 -0
  53. package/dist/runtime/chunks/params-DdApDOBw.js +1 -0
  54. package/dist/runtime/chunks/physicsHost-DPaVdM0R.js +1 -0
  55. package/dist/runtime/chunks/postfx-BpBXjLX3.js +1527 -0
  56. package/dist/runtime/chunks/postfx-i_J5Vf-l.js +1 -0
  57. package/dist/runtime/chunks/random-eeej60NW.js +1 -0
  58. package/dist/runtime/chunks/shaders-CmeJRio1.js +443 -0
  59. package/dist/runtime/chunks/svg-B3nZaQFD.js +1 -0
  60. package/dist/runtime/chunks/text-CmkU-b0C.js +2 -0
  61. package/dist/runtime/chunks/three.module-W4hp4qHb.js +4225 -0
  62. package/dist/runtime/chunks/toon-B5Jhf37V.js +6 -0
  63. package/dist/runtime/chunks/util-THUewKBk.js +1 -0
  64. package/dist/studio/assets/BufferGeometryUtils-wW9vV1l2.js +1 -0
  65. package/dist/studio/assets/EXRLoader-f8U8jnlr.js +1 -0
  66. package/dist/studio/assets/FontLoader-9sHudKzD.js +2 -0
  67. package/dist/studio/assets/GLTFLoader-C3C_3K62.js +1 -0
  68. package/dist/studio/assets/GroundedSkybox-BTqmv4fv.js +1 -0
  69. package/dist/studio/assets/HDRLoader-CkQyrTWY.js +5 -0
  70. package/dist/studio/assets/OrbitControls-fcOgB96a.js +1 -0
  71. package/dist/studio/assets/RectAreaLightUniformsLib-CZHWO9xf.js +1 -0
  72. package/dist/studio/assets/RoomEnvironment-BsISzuCp.js +1 -0
  73. package/dist/studio/assets/SVGLoader-BIkQDT66.js +1 -0
  74. package/dist/studio/assets/SkeletonUtils-CG5akqME.js +1 -0
  75. package/dist/studio/assets/Sky-C282PFL1.js +243 -0
  76. package/dist/studio/assets/audio-JD1kyX0A.js +1 -0
  77. package/dist/studio/assets/camera-BhKdE9ej.js +2 -0
  78. package/dist/studio/assets/editor-BgY_RoRd.js +1 -0
  79. package/dist/studio/assets/extrude-CnayHczh.js +1 -0
  80. package/dist/studio/assets/game-Dv5s4eMN.js +19 -0
  81. package/dist/studio/assets/generators-DVX3bAxe.js +331 -0
  82. package/dist/studio/assets/index-BQT0otii.css +1 -0
  83. package/dist/studio/assets/index-Dh-2Y34U.js +479 -0
  84. package/dist/studio/assets/meshopt_decoder.module-DXTYc6wn.js +1 -0
  85. package/dist/studio/assets/meshoptimizer-BCSwHBL3.js +1 -0
  86. package/dist/studio/assets/model-XZSP52pV.js +2 -0
  87. package/dist/studio/assets/physicsHost-C84FddIe.js +1 -0
  88. package/dist/studio/assets/postfx-BWWXb8i8.js +1527 -0
  89. package/dist/studio/assets/runtime-k_MFerbJ.js +572 -0
  90. package/dist/studio/assets/shaders-BEznGIct.js +443 -0
  91. package/dist/studio/assets/svg-DT8kx37i.js +2 -0
  92. package/dist/studio/assets/text-5DsJJHcj.js +3 -0
  93. package/dist/studio/assets/three.module-ByMn_ZTv.js +4225 -0
  94. package/dist/studio/index.html +16 -0
  95. package/library/LICENSES.md +77 -0
  96. package/library/fonts/LICENSES.md +42 -0
  97. package/library/fonts/anton.typeface.json +1 -0
  98. package/library/fonts/bebas-neue.typeface.json +1 -0
  99. package/library/fonts/display.typeface.json +1 -0
  100. package/library/fonts/inter-black.typeface.json +1 -0
  101. package/library/fonts/lobster.typeface.json +1 -0
  102. package/library/fonts/mono.typeface.json +1 -0
  103. package/library/fonts/montserrat-extrabold.typeface.json +1 -0
  104. package/library/fonts/pacifico.typeface.json +1 -0
  105. package/library/fonts/sans-bold.typeface.json +1 -0
  106. package/library/fonts/sans.typeface.json +1 -0
  107. package/library/fonts/serif-bold.typeface.json +1 -0
  108. package/library/fonts/serif.typeface.json +1 -0
  109. package/library/fonts/space-grotesk-bold.typeface.json +1 -0
  110. package/library/hdri/beach.hdr +0 -0
  111. package/library/hdri/beach.jpg +0 -0
  112. package/library/hdri/city.hdr +0 -0
  113. package/library/hdri/city.jpg +0 -0
  114. package/library/hdri/forest.hdr +0 -0
  115. package/library/hdri/forest.jpg +0 -0
  116. package/library/hdri/night-city.hdr +0 -0
  117. package/library/hdri/night-city.jpg +0 -0
  118. package/library/hdri/night.hdr +0 -0
  119. package/library/hdri/night.jpg +0 -0
  120. package/library/hdri/sky.hdr +0 -0
  121. package/library/hdri/sky.jpg +0 -0
  122. package/library/hdri/softbox.hdr +0 -0
  123. package/library/hdri/softbox.jpg +0 -0
  124. package/library/hdri/studio.hdr +0 -0
  125. package/library/hdri/studio.jpg +0 -0
  126. package/library/hdri/sunset.hdr +0 -0
  127. package/library/hdri/sunset.jpg +0 -0
  128. package/library/hdri/warehouse.hdr +0 -0
  129. package/library/hdri/warehouse.jpg +0 -0
  130. package/library/index.json +5510 -0
  131. package/library/models/animals/fish.glb +0 -0
  132. package/library/models/animals/fox.glb +0 -0
  133. package/library/models/buildings/castle.glb +0 -0
  134. package/library/models/buildings/house.glb +0 -0
  135. package/library/models/buildings/market.glb +0 -0
  136. package/library/models/buildings/tavern.glb +0 -0
  137. package/library/models/buildings/tower.glb +0 -0
  138. package/library/models/buildings/windmill.glb +0 -0
  139. package/library/models/characters/barbarian.glb +0 -0
  140. package/library/models/characters/knight.glb +0 -0
  141. package/library/models/characters/mage.glb +0 -0
  142. package/library/models/characters/mini-soldier.glb +0 -0
  143. package/library/models/characters/platformer-hero.glb +0 -0
  144. package/library/models/characters/robot.glb +0 -0
  145. package/library/models/characters/rogue.glb +0 -0
  146. package/library/models/characters/skeleton.glb +0 -0
  147. package/library/models/city/building-a.glb +0 -0
  148. package/library/models/city/building-b.glb +0 -0
  149. package/library/models/city/building-tall.glb +0 -0
  150. package/library/models/city/fire-hydrant.glb +0 -0
  151. package/library/models/city/road-corner.glb +0 -0
  152. package/library/models/city/road-crossing.glb +0 -0
  153. package/library/models/city/road-junction.glb +0 -0
  154. package/library/models/city/road-straight.glb +0 -0
  155. package/library/models/city/streetlight.glb +0 -0
  156. package/library/models/city/suburban-house.glb +0 -0
  157. package/library/models/city/traffic-light.glb +0 -0
  158. package/library/models/city/water-tower.glb +0 -0
  159. package/library/models/food/apple.glb +0 -0
  160. package/library/models/food/avocado.glb +0 -0
  161. package/library/models/food/baguette.glb +0 -0
  162. package/library/models/food/bread-loaf.glb +0 -0
  163. package/library/models/food/burger.glb +0 -0
  164. package/library/models/food/carrot.glb +0 -0
  165. package/library/models/food/cheese.glb +0 -0
  166. package/library/models/food/cookie.glb +0 -0
  167. package/library/models/food/croissant.glb +0 -0
  168. package/library/models/food/cupcake.glb +0 -0
  169. package/library/models/food/dinner-plate.glb +0 -0
  170. package/library/models/food/donut.glb +0 -0
  171. package/library/models/food/ketchup.glb +0 -0
  172. package/library/models/food/mug.glb +0 -0
  173. package/library/models/food/pain-au-chocolat.glb +0 -0
  174. package/library/models/food/stew.glb +0 -0
  175. package/library/models/food/tomato.glb +0 -0
  176. package/library/models/food/veggie-burger.glb +0 -0
  177. package/library/models/nature/bush.glb +0 -0
  178. package/library/models/nature/cactus.glb +0 -0
  179. package/library/models/nature/cloud.glb +0 -0
  180. package/library/models/nature/fir-tree.glb +0 -0
  181. package/library/models/nature/forest-patch.glb +0 -0
  182. package/library/models/nature/grass-small.glb +0 -0
  183. package/library/models/nature/grass.glb +0 -0
  184. package/library/models/nature/hex-grass.glb +0 -0
  185. package/library/models/nature/hex-water.glb +0 -0
  186. package/library/models/nature/hills.glb +0 -0
  187. package/library/models/nature/mountain.glb +0 -0
  188. package/library/models/nature/pine-autumn.glb +0 -0
  189. package/library/models/nature/pine-tree.glb +0 -0
  190. package/library/models/nature/pumpkin.glb +0 -0
  191. package/library/models/nature/rock-flat.glb +0 -0
  192. package/library/models/nature/rock.glb +0 -0
  193. package/library/models/nature/tree-dead.glb +0 -0
  194. package/library/models/nature/tree-slim.glb +0 -0
  195. package/library/models/nature/trees-cluster.glb +0 -0
  196. package/library/models/nature/waterlily.glb +0 -0
  197. package/library/models/platformer/blaster.glb +0 -0
  198. package/library/models/platformer/block-coin.glb +0 -0
  199. package/library/models/platformer/brick.glb +0 -0
  200. package/library/models/platformer/coin.glb +0 -0
  201. package/library/models/platformer/enemy-flying.glb +0 -0
  202. package/library/models/platformer/flag.glb +0 -0
  203. package/library/models/platformer/platform-falling.glb +0 -0
  204. package/library/models/platformer/platform-grass-round.glb +0 -0
  205. package/library/models/platformer/platform-large.glb +0 -0
  206. package/library/models/platformer/platform-medium.glb +0 -0
  207. package/library/models/platformer/platform.glb +0 -0
  208. package/library/models/platformer/target.glb +0 -0
  209. package/library/models/platformer/track-corner.glb +0 -0
  210. package/library/models/platformer/track-straight.glb +0 -0
  211. package/library/models/platformer/wall-low.glb +0 -0
  212. package/library/models/products/boombox.glb +0 -0
  213. package/library/models/products/iridescent-lamp.glb +0 -0
  214. package/library/models/products/lantern.glb +0 -0
  215. package/library/models/products/lounge-chair.glb +0 -0
  216. package/library/models/products/sneaker.glb +0 -0
  217. package/library/models/products/velvet-sofa.glb +0 -0
  218. package/library/models/products/water-bottle.glb +0 -0
  219. package/library/models/props/alarm-clock.glb +0 -0
  220. package/library/models/props/armchair.glb +0 -0
  221. package/library/models/props/barrel.glb +0 -0
  222. package/library/models/props/bench.glb +0 -0
  223. package/library/models/props/brass-vase.glb +0 -0
  224. package/library/models/props/chest.glb +0 -0
  225. package/library/models/props/coffee-table.glb +0 -0
  226. package/library/models/props/coin-stack.glb +0 -0
  227. package/library/models/props/coin.glb +0 -0
  228. package/library/models/props/couch.glb +0 -0
  229. package/library/models/props/crate.glb +0 -0
  230. package/library/models/props/flag.glb +0 -0
  231. package/library/models/props/gravestone.glb +0 -0
  232. package/library/models/props/key.glb +0 -0
  233. package/library/models/props/lamp.glb +0 -0
  234. package/library/models/props/lantern.glb +0 -0
  235. package/library/models/props/marble-bust.glb +0 -0
  236. package/library/models/props/modern-armchair.glb +0 -0
  237. package/library/models/props/potted-succulent.glb +0 -0
  238. package/library/models/props/rubber-duck.glb +0 -0
  239. package/library/models/props/shield.glb +0 -0
  240. package/library/models/props/sword-shield.glb +0 -0
  241. package/library/models/props/sword.glb +0 -0
  242. package/library/models/props/table.glb +0 -0
  243. package/library/models/props/tent.glb +0 -0
  244. package/library/models/props/torch.glb +0 -0
  245. package/library/models/props/trophy.glb +0 -0
  246. package/library/models/space/base-module.glb +0 -0
  247. package/library/models/space/lander.glb +0 -0
  248. package/library/models/space/landing-pad.glb +0 -0
  249. package/library/models/space/rocks.glb +0 -0
  250. package/library/models/space/solar-panel.glb +0 -0
  251. package/library/models/space/space-truck.glb +0 -0
  252. package/library/models/space/wind-turbine.glb +0 -0
  253. package/library/models/vehicles/car.glb +0 -0
  254. package/library/models/vehicles/hatchback.glb +0 -0
  255. package/library/models/vehicles/motorcycle.glb +0 -0
  256. package/library/models/vehicles/police-car.glb +0 -0
  257. package/library/models/vehicles/taxi.glb +0 -0
  258. package/library/models/vehicles/truck.glb +0 -0
  259. package/library/sources.json +2856 -0
  260. package/library/textures/brick-color.jpg +0 -0
  261. package/library/textures/brick-normal.jpg +0 -0
  262. package/library/textures/brick-roughness.jpg +0 -0
  263. package/library/textures/concrete-color.jpg +0 -0
  264. package/library/textures/concrete-normal.jpg +0 -0
  265. package/library/textures/concrete-roughness.jpg +0 -0
  266. package/library/textures/fabric-color.jpg +0 -0
  267. package/library/textures/fabric-normal.jpg +0 -0
  268. package/library/textures/fabric-roughness.jpg +0 -0
  269. package/library/textures/grass-ground-color.jpg +0 -0
  270. package/library/textures/grass-ground-normal.jpg +0 -0
  271. package/library/textures/grass-ground-roughness.jpg +0 -0
  272. package/library/textures/rusty-metal-color.jpg +0 -0
  273. package/library/textures/rusty-metal-normal.jpg +0 -0
  274. package/library/textures/rusty-metal-roughness.jpg +0 -0
  275. package/library/textures/wood-planks-color.jpg +0 -0
  276. package/library/textures/wood-planks-normal.jpg +0 -0
  277. package/library/textures/wood-planks-roughness.jpg +0 -0
  278. package/package.json +67 -4
  279. package/plugin/.claude-plugin/plugin.json +19 -0
  280. package/plugin/skills/agent3d-assets/SKILL.md +140 -0
  281. package/plugin/skills/agent3d-assets/references/sources.md +33 -0
  282. package/plugin/skills/agent3d-create/SKILL.md +141 -0
  283. package/plugin/skills/agent3d-create/references/art-direction.md +144 -0
  284. package/plugin/skills/agent3d-create/references/recipes.md +1357 -0
  285. package/plugin/skills/agent3d-edit/SKILL.md +121 -0
  286. package/plugin/skills/agent3d-edit/references/patch-ops.md +278 -0
  287. package/plugin/skills/agent3d-game/SKILL.md +111 -0
  288. package/plugin/skills/agent3d-game/references/game-patterns.md +262 -0
  289. package/plugin/skills/agent3d-game/references/script-api.md +211 -0
  290. package/plugin/skills/agent3d-publish/SKILL.md +161 -0
  291. package/plugin/skills/agent3d-publish/references/integrations.md +221 -0
  292. package/templates/banner-aurora-night/README.md +15 -0
  293. package/templates/banner-aurora-night/agent3d.json +8 -0
  294. package/templates/banner-aurora-night/preview.png +0 -0
  295. package/templates/banner-aurora-night/scene.json +327 -0
  296. package/templates/banner-aurora-night/template.json +24 -0
  297. package/templates/banner-data-bars/README.md +15 -0
  298. package/templates/banner-data-bars/agent3d.json +8 -0
  299. package/templates/banner-data-bars/preview.png +0 -0
  300. package/templates/banner-data-bars/scene.json +222 -0
  301. package/templates/banner-data-bars/template.json +25 -0
  302. package/templates/banner-floating-shapes/README.md +15 -0
  303. package/templates/banner-floating-shapes/agent3d.json +8 -0
  304. package/templates/banner-floating-shapes/preview.png +0 -0
  305. package/templates/banner-floating-shapes/scene.json +703 -0
  306. package/templates/banner-floating-shapes/template.json +24 -0
  307. package/templates/banner-gradient-blob/README.md +16 -0
  308. package/templates/banner-gradient-blob/agent3d.json +8 -0
  309. package/templates/banner-gradient-blob/preview.png +0 -0
  310. package/templates/banner-gradient-blob/scene.json +330 -0
  311. package/templates/banner-gradient-blob/template.json +21 -0
  312. package/templates/banner-liquid-chrome/README.md +16 -0
  313. package/templates/banner-liquid-chrome/agent3d.json +8 -0
  314. package/templates/banner-liquid-chrome/preview.png +0 -0
  315. package/templates/banner-liquid-chrome/scene.json +290 -0
  316. package/templates/banner-liquid-chrome/template.json +24 -0
  317. package/templates/banner-logo-extrude/README.md +24 -0
  318. package/templates/banner-logo-extrude/agent3d.json +8 -0
  319. package/templates/banner-logo-extrude/assets/logo.svg +6 -0
  320. package/templates/banner-logo-extrude/assets/manifest.json +13 -0
  321. package/templates/banner-logo-extrude/preview.png +0 -0
  322. package/templates/banner-logo-extrude/scene.json +332 -0
  323. package/templates/banner-logo-extrude/template.json +22 -0
  324. package/templates/banner-neon-title/README.md +18 -0
  325. package/templates/banner-neon-title/agent3d.json +8 -0
  326. package/templates/banner-neon-title/preview.png +0 -0
  327. package/templates/banner-neon-title/scene.json +494 -0
  328. package/templates/banner-neon-title/template.json +25 -0
  329. package/templates/banner-wave-grid/README.md +18 -0
  330. package/templates/banner-wave-grid/agent3d.json +8 -0
  331. package/templates/banner-wave-grid/preview.png +0 -0
  332. package/templates/banner-wave-grid/scene.json +217 -0
  333. package/templates/banner-wave-grid/template.json +23 -0
  334. package/templates/card-hover-3d/README.md +16 -0
  335. package/templates/card-hover-3d/agent3d.json +8 -0
  336. package/templates/card-hover-3d/preview.png +0 -0
  337. package/templates/card-hover-3d/scene.json +359 -0
  338. package/templates/card-hover-3d/template.json +21 -0
  339. package/templates/card-product-tilt/README.md +14 -0
  340. package/templates/card-product-tilt/agent3d.json +8 -0
  341. package/templates/card-product-tilt/preview.png +0 -0
  342. package/templates/card-product-tilt/scene.json +296 -0
  343. package/templates/card-product-tilt/template.json +23 -0
  344. package/templates/character-mascot-hero/README.md +19 -0
  345. package/templates/character-mascot-hero/agent3d.json +8 -0
  346. package/templates/character-mascot-hero/preview.png +0 -0
  347. package/templates/character-mascot-hero/scene.json +512 -0
  348. package/templates/character-mascot-hero/template.json +8 -0
  349. package/templates/character-showcase/README.md +27 -0
  350. package/templates/character-showcase/agent3d.json +8 -0
  351. package/templates/character-showcase/preview.png +0 -0
  352. package/templates/character-showcase/scene.json +440 -0
  353. package/templates/character-showcase/template.json +24 -0
  354. package/templates/diorama-city/README.md +21 -0
  355. package/templates/diorama-city/agent3d.json +8 -0
  356. package/templates/diorama-city/preview.png +0 -0
  357. package/templates/diorama-city/scene.json +432 -0
  358. package/templates/diorama-city/template.json +21 -0
  359. package/templates/game-basket/README.md +25 -0
  360. package/templates/game-basket/agent3d.json +8 -0
  361. package/templates/game-basket/preview.png +0 -0
  362. package/templates/game-basket/scene.json +640 -0
  363. package/templates/game-basket/scripts/basket.js +176 -0
  364. package/templates/game-basket/template.json +8 -0
  365. package/templates/game-coin-collector/README.md +28 -0
  366. package/templates/game-coin-collector/agent3d.json +8 -0
  367. package/templates/game-coin-collector/preview.png +0 -0
  368. package/templates/game-coin-collector/scene.json +900 -0
  369. package/templates/game-coin-collector/scripts/collector.js +210 -0
  370. package/templates/game-coin-collector/template.json +19 -0
  371. package/templates/game-maze/README.md +24 -0
  372. package/templates/game-maze/agent3d.json +8 -0
  373. package/templates/game-maze/preview.png +0 -0
  374. package/templates/game-maze/scene.json +315 -0
  375. package/templates/game-maze/scripts/maze.js +168 -0
  376. package/templates/game-maze/template.json +18 -0
  377. package/templates/game-physics-playground/README.md +30 -0
  378. package/templates/game-physics-playground/agent3d.json +8 -0
  379. package/templates/game-physics-playground/preview.png +0 -0
  380. package/templates/game-physics-playground/scene.json +1712 -0
  381. package/templates/game-physics-playground/scripts/playground.js +151 -0
  382. package/templates/game-physics-playground/template.json +19 -0
  383. package/templates/game-platformer/README.md +26 -0
  384. package/templates/game-platformer/agent3d.json +8 -0
  385. package/templates/game-platformer/preview.png +0 -0
  386. package/templates/game-platformer/scene.json +1063 -0
  387. package/templates/game-platformer/scripts/platformer.js +222 -0
  388. package/templates/game-platformer/template.json +8 -0
  389. package/templates/game-runner/README.md +30 -0
  390. package/templates/game-runner/agent3d.json +8 -0
  391. package/templates/game-runner/preview.png +0 -0
  392. package/templates/game-runner/scene.json +1317 -0
  393. package/templates/game-runner/scripts/runner.js +263 -0
  394. package/templates/game-runner/template.json +18 -0
  395. package/templates/game-tap-targets/README.md +21 -0
  396. package/templates/game-tap-targets/agent3d.json +8 -0
  397. package/templates/game-tap-targets/preview.png +0 -0
  398. package/templates/game-tap-targets/scene.json +924 -0
  399. package/templates/game-tap-targets/scripts/targets.js +159 -0
  400. package/templates/game-tap-targets/template.json +19 -0
  401. package/templates/hero-floating-island/README.md +18 -0
  402. package/templates/hero-floating-island/agent3d.json +8 -0
  403. package/templates/hero-floating-island/preview.png +0 -0
  404. package/templates/hero-floating-island/scene.json +658 -0
  405. package/templates/hero-floating-island/template.json +8 -0
  406. package/templates/hero-perfume-luxury/README.md +18 -0
  407. package/templates/hero-perfume-luxury/agent3d.json +8 -0
  408. package/templates/hero-perfume-luxury/preview.png +0 -0
  409. package/templates/hero-perfume-luxury/scene.json +529 -0
  410. package/templates/hero-perfume-luxury/template.json +27 -0
  411. package/templates/hero-product-turntable/README.md +16 -0
  412. package/templates/hero-product-turntable/agent3d.json +8 -0
  413. package/templates/hero-product-turntable/preview.png +0 -0
  414. package/templates/hero-product-turntable/scene.json +225 -0
  415. package/templates/hero-product-turntable/template.json +21 -0
  416. package/templates/hero-saas-globe/README.md +16 -0
  417. package/templates/hero-saas-globe/agent3d.json +8 -0
  418. package/templates/hero-saas-globe/preview.png +0 -0
  419. package/templates/hero-saas-globe/scene.json +318 -0
  420. package/templates/hero-saas-globe/template.json +24 -0
  421. package/templates/hero-scroll-story/README.md +26 -0
  422. package/templates/hero-scroll-story/agent3d.json +8 -0
  423. package/templates/hero-scroll-story/preview.png +0 -0
  424. package/templates/hero-scroll-story/scene.json +642 -0
  425. package/templates/hero-scroll-story/template.json +22 -0
  426. package/templates/hero-sneaker-showcase/README.md +19 -0
  427. package/templates/hero-sneaker-showcase/agent3d.json +8 -0
  428. package/templates/hero-sneaker-showcase/preview.png +0 -0
  429. package/templates/hero-sneaker-showcase/scene.json +523 -0
  430. package/templates/hero-sneaker-showcase/template.json +23 -0
  431. package/templates/hero-space-planet/README.md +17 -0
  432. package/templates/hero-space-planet/agent3d.json +8 -0
  433. package/templates/hero-space-planet/preview.png +0 -0
  434. package/templates/hero-space-planet/scene.json +330 -0
  435. package/templates/hero-space-planet/template.json +21 -0
  436. package/templates/landscape-island/README.md +21 -0
  437. package/templates/landscape-island/agent3d.json +8 -0
  438. package/templates/landscape-island/preview.png +0 -0
  439. package/templates/landscape-island/scene.json +716 -0
  440. package/templates/landscape-island/template.json +24 -0
  441. package/templates/landscape-night-galaxy/README.md +25 -0
  442. package/templates/landscape-night-galaxy/agent3d.json +8 -0
  443. package/templates/landscape-night-galaxy/preview.png +0 -0
  444. package/templates/landscape-night-galaxy/scene.json +403 -0
  445. package/templates/landscape-night-galaxy/template.json +8 -0
  446. package/templates/landscape-valley-sunset/README.md +20 -0
  447. package/templates/landscape-valley-sunset/agent3d.json +8 -0
  448. package/templates/landscape-valley-sunset/preview.png +0 -0
  449. package/templates/landscape-valley-sunset/scene.json +265 -0
  450. package/templates/landscape-valley-sunset/template.json +22 -0
  451. package/templates/scene-cozy-room/README.md +21 -0
  452. package/templates/scene-cozy-room/agent3d.json +8 -0
  453. package/templates/scene-cozy-room/preview.png +0 -0
  454. package/templates/scene-cozy-room/scene.json +728 -0
  455. package/templates/scene-cozy-room/template.json +8 -0
@@ -0,0 +1,728 @@
1
+ {
2
+ "version": 1,
3
+ "id": "scene-cozy-room",
4
+ "title": "Cozy room diorama",
5
+ "ariaLabel": "An isometric cozy living-room corner at golden hour: a modern armchair, a round wooden coffee table with a potted succulent, a rug, a warm floor lamp and sunlight from a window with floating dust",
6
+ "seed": 4,
7
+ "target": {
8
+ "kind": "square",
9
+ "aspect": "1:1",
10
+ "budgetKb": 2600,
11
+ "reducedMotion": "static",
12
+ "posterTime": 2,
13
+ "maxDpr": 2
14
+ },
15
+ "camera": {
16
+ "type": "orthographic",
17
+ "zoom": 6.1,
18
+ "position": [
19
+ 9,
20
+ 7.4,
21
+ 9
22
+ ],
23
+ "target": [
24
+ 0,
25
+ 1.1,
26
+ 0
27
+ ],
28
+ "controls": "parallax",
29
+ "parallax": {
30
+ "strength": 0.25,
31
+ "smoothing": 0.94
32
+ }
33
+ },
34
+ "environment": {
35
+ "background": {
36
+ "radial": [
37
+ "#f6e6d6",
38
+ "#e3c9b3"
39
+ ],
40
+ "center": [
41
+ 0.5,
42
+ 0.55
43
+ ]
44
+ },
45
+ "lighting": "soft",
46
+ "lightingIntensity": 0.45,
47
+ "shadows": {
48
+ "type": "vsm",
49
+ "softness": 6,
50
+ "mapSize": 2048
51
+ }
52
+ },
53
+ "lights": [
54
+ {
55
+ "id": "sun",
56
+ "type": "directional",
57
+ "position": [
58
+ -3,
59
+ 5,
60
+ 6
61
+ ],
62
+ "target": [
63
+ 0.5,
64
+ 0,
65
+ -0.5
66
+ ],
67
+ "color": "#ffc98f",
68
+ "intensity": 2.6,
69
+ "castShadow": true
70
+ },
71
+ {
72
+ "id": "windowLight",
73
+ "type": "rect",
74
+ "position": [
75
+ -1.985,
76
+ 1.55,
77
+ 0.3
78
+ ],
79
+ "target": [
80
+ 2,
81
+ 0.6,
82
+ 0.3
83
+ ],
84
+ "width": 1.26,
85
+ "height": 1.16,
86
+ "color": "#ffe1b8",
87
+ "intensity": 6,
88
+ "panel": true
89
+ },
90
+ {
91
+ "id": "lampGlow",
92
+ "type": "point",
93
+ "position": [
94
+ 1.25,
95
+ 1.45,
96
+ -1.3
97
+ ],
98
+ "color": "#ffb466",
99
+ "intensity": 5,
100
+ "distance": 5,
101
+ "behaviours": [
102
+ {
103
+ "type": "flicker",
104
+ "amount": 0.05,
105
+ "speed": 2
106
+ }
107
+ ]
108
+ },
109
+ {
110
+ "id": "fill",
111
+ "type": "hemisphere",
112
+ "skyColor": "#ffe9d6",
113
+ "groundColor": "#6b4b3a",
114
+ "intensity": 0.5
115
+ }
116
+ ],
117
+ "objects": [
118
+ {
119
+ "id": "floor",
120
+ "kind": "mesh",
121
+ "geometry": {
122
+ "type": "box",
123
+ "width": 4,
124
+ "height": 0.2,
125
+ "depth": 4
126
+ },
127
+ "position": [
128
+ 0,
129
+ -0.1,
130
+ 0
131
+ ],
132
+ "receiveShadow": true,
133
+ "material": {
134
+ "type": "physical",
135
+ "color": "#d8c3b0",
136
+ "roughness": 0.6,
137
+ "map": "library:textures/wood-planks-color.jpg",
138
+ "normalMap": "library:textures/wood-planks-normal.jpg",
139
+ "repeat": [
140
+ 2,
141
+ 2
142
+ ],
143
+ "clearcoat": 0.25,
144
+ "clearcoatRoughness": 0.4
145
+ }
146
+ },
147
+ {
148
+ "id": "wallLeft",
149
+ "kind": "mesh",
150
+ "geometry": {
151
+ "type": "box",
152
+ "width": 0.16,
153
+ "height": 2.7,
154
+ "depth": 4
155
+ },
156
+ "position": [
157
+ -2.08,
158
+ 1.35,
159
+ 0
160
+ ],
161
+ "receiveShadow": true,
162
+ "material": {
163
+ "preset": "matte",
164
+ "color": "#e7b7a0"
165
+ }
166
+ },
167
+ {
168
+ "id": "wallBack",
169
+ "kind": "mesh",
170
+ "geometry": {
171
+ "type": "box",
172
+ "width": 4.32,
173
+ "height": 2.7,
174
+ "depth": 0.16
175
+ },
176
+ "position": [
177
+ -0.08,
178
+ 1.35,
179
+ -2.08
180
+ ],
181
+ "receiveShadow": true,
182
+ "material": {
183
+ "preset": "matte",
184
+ "color": "#f1d3bd"
185
+ }
186
+ },
187
+ {
188
+ "id": "rug",
189
+ "kind": "mesh",
190
+ "geometry": {
191
+ "type": "cylinder",
192
+ "radiusTop": 1.25,
193
+ "radiusBottom": 1.25,
194
+ "height": 0.02,
195
+ "segments": 64
196
+ },
197
+ "position": [
198
+ 0.25,
199
+ 0.01,
200
+ 0.35
201
+ ],
202
+ "receiveShadow": true,
203
+ "material": {
204
+ "type": "physical",
205
+ "color": "#d9c2a4",
206
+ "roughness": 1,
207
+ "sheen": 1,
208
+ "sheenColor": "#fff3e0",
209
+ "map": {
210
+ "procedural": "stripes",
211
+ "colors": [
212
+ "#e8d6bd",
213
+ "#c9a988"
214
+ ]
215
+ }
216
+ }
217
+ },
218
+ {
219
+ "id": "armchair",
220
+ "kind": "model",
221
+ "src": "library:models/props/modern-armchair.glb",
222
+ "fit": 1.0,
223
+ "position": [
224
+ -0.85,
225
+ 0,
226
+ -0.75
227
+ ],
228
+ "rotation": [
229
+ 0,
230
+ 35,
231
+ 0
232
+ ],
233
+ "castShadow": true,
234
+ "receiveShadow": true
235
+ },
236
+ {
237
+ "id": "table",
238
+ "kind": "model",
239
+ "src": "library:models/props/coffee-table.glb",
240
+ "fit": 1.12,
241
+ "position": [
242
+ 0.55,
243
+ 0,
244
+ 0.55
245
+ ],
246
+ "castShadow": true,
247
+ "receiveShadow": true
248
+ },
249
+ {
250
+ "id": "succulent",
251
+ "kind": "model",
252
+ "src": "library:models/props/potted-succulent.glb",
253
+ "fit": 0.32,
254
+ "position": [
255
+ 0.55,
256
+ 0.42,
257
+ 0.55
258
+ ],
259
+ "castShadow": true
260
+ },
261
+ {
262
+ "id": "lamp",
263
+ "kind": "group",
264
+ "position": [
265
+ 1.25,
266
+ 0,
267
+ -1.3
268
+ ],
269
+ "children": [
270
+ {
271
+ "id": "lampBase",
272
+ "kind": "mesh",
273
+ "geometry": {
274
+ "type": "cylinder",
275
+ "radiusTop": 0.16,
276
+ "radiusBottom": 0.18,
277
+ "height": 0.04,
278
+ "segments": 32
279
+ },
280
+ "position": [
281
+ 0,
282
+ 0.02,
283
+ 0
284
+ ],
285
+ "material": {
286
+ "preset": "brushedMetal",
287
+ "color": "#c9a46a"
288
+ },
289
+ "castShadow": true
290
+ },
291
+ {
292
+ "id": "lampPole",
293
+ "kind": "mesh",
294
+ "geometry": {
295
+ "type": "cylinder",
296
+ "radiusTop": 0.015,
297
+ "radiusBottom": 0.015,
298
+ "height": 1.4,
299
+ "segments": 12
300
+ },
301
+ "position": [
302
+ 0,
303
+ 0.72,
304
+ 0
305
+ ],
306
+ "material": {
307
+ "preset": "brushedMetal",
308
+ "color": "#c9a46a"
309
+ },
310
+ "castShadow": true
311
+ },
312
+ {
313
+ "id": "lampShade",
314
+ "kind": "mesh",
315
+ "geometry": {
316
+ "type": "cylinder",
317
+ "radiusTop": 0.17,
318
+ "radiusBottom": 0.26,
319
+ "height": 0.32,
320
+ "segments": 40,
321
+ "openEnded": true
322
+ },
323
+ "position": [
324
+ 0,
325
+ 1.5,
326
+ 0
327
+ ],
328
+ "material": {
329
+ "type": "standard",
330
+ "color": "#fff1dc",
331
+ "emissive": "#ffb466",
332
+ "emissiveIntensity": 1.4,
333
+ "side": "double",
334
+ "roughness": 0.9
335
+ },
336
+ "castShadow": true
337
+ }
338
+ ]
339
+ },
340
+ {
341
+ "id": "frame",
342
+ "kind": "mesh",
343
+ "geometry": {
344
+ "type": "box",
345
+ "width": 0.9,
346
+ "height": 0.65,
347
+ "depth": 0.04
348
+ },
349
+ "position": [
350
+ 0.35,
351
+ 1.6,
352
+ -1.98
353
+ ],
354
+ "material": {
355
+ "preset": "wood",
356
+ "color": "#7a5236"
357
+ }
358
+ },
359
+ {
360
+ "id": "art",
361
+ "kind": "mesh",
362
+ "geometry": {
363
+ "type": "plane",
364
+ "width": 0.76,
365
+ "height": 0.51
366
+ },
367
+ "position": [
368
+ 0.35,
369
+ 1.6,
370
+ -1.955
371
+ ],
372
+ "material": {
373
+ "type": "shader",
374
+ "shader": "grainGradient",
375
+ "uniforms": {
376
+ "colors": [
377
+ "#ffcf9e",
378
+ "#e2725b",
379
+ "#5b3a6e"
380
+ ],
381
+ "angle": 120,
382
+ "grain": 0.05
383
+ }
384
+ }
385
+ },
386
+ {
387
+ "id": "books",
388
+ "kind": "group",
389
+ "position": [
390
+ -1.65,
391
+ 0,
392
+ 0.9
393
+ ],
394
+ "rotation": [
395
+ 0,
396
+ 20,
397
+ 0
398
+ ],
399
+ "children": [
400
+ {
401
+ "id": "book1",
402
+ "kind": "mesh",
403
+ "geometry": {
404
+ "type": "roundedBox",
405
+ "width": 0.34,
406
+ "height": 0.06,
407
+ "depth": 0.24,
408
+ "radius": 0.01
409
+ },
410
+ "position": [
411
+ 0,
412
+ 0.03,
413
+ 0
414
+ ],
415
+ "material": {
416
+ "preset": "matte",
417
+ "color": "#2f5d62"
418
+ }
419
+ },
420
+ {
421
+ "id": "book2",
422
+ "kind": "mesh",
423
+ "geometry": {
424
+ "type": "roundedBox",
425
+ "width": 0.3,
426
+ "height": 0.05,
427
+ "depth": 0.22,
428
+ "radius": 0.01
429
+ },
430
+ "position": [
431
+ 0.01,
432
+ 0.085,
433
+ 0
434
+ ],
435
+ "rotation": [
436
+ 0,
437
+ 12,
438
+ 0
439
+ ],
440
+ "material": {
441
+ "preset": "matte",
442
+ "color": "#e9b44c"
443
+ }
444
+ },
445
+ {
446
+ "id": "book3",
447
+ "kind": "mesh",
448
+ "geometry": {
449
+ "type": "roundedBox",
450
+ "width": 0.28,
451
+ "height": 0.05,
452
+ "depth": 0.2,
453
+ "radius": 0.01
454
+ },
455
+ "position": [
456
+ -0.01,
457
+ 0.135,
458
+ 0
459
+ ],
460
+ "rotation": [
461
+ 0,
462
+ -8,
463
+ 0
464
+ ],
465
+ "material": {
466
+ "preset": "matte",
467
+ "color": "#c0504d"
468
+ }
469
+ }
470
+ ]
471
+ },
472
+ {
473
+ "id": "dust",
474
+ "kind": "particles",
475
+ "preset": "dust",
476
+ "count": 140,
477
+ "area": [
478
+ 2.6,
479
+ 1.8,
480
+ 2.2
481
+ ],
482
+ "position": [
483
+ -0.6,
484
+ 1.1,
485
+ 0.3
486
+ ],
487
+ "color": [
488
+ "#fff3dc",
489
+ "#ffe0b0"
490
+ ],
491
+ "size": 0.02,
492
+ "opacity": 0.7
493
+ },
494
+ {
495
+ "id": "plant",
496
+ "kind": "model",
497
+ "src": "library:models/props/potted-succulent.glb",
498
+ "fit": 0.55,
499
+ "position": [
500
+ -1.55,
501
+ 0,
502
+ 1.45
503
+ ],
504
+ "rotation": [
505
+ 0,
506
+ 60,
507
+ 0
508
+ ],
509
+ "castShadow": true
510
+ },
511
+ {
512
+ "id": "window",
513
+ "kind": "group",
514
+ "position": [
515
+ -1.97,
516
+ 1.55,
517
+ 0.3
518
+ ],
519
+ "children": [
520
+ {
521
+ "id": "winBar0",
522
+ "kind": "mesh",
523
+ "geometry": {
524
+ "type": "box",
525
+ "width": 0.06,
526
+ "height": 0.08,
527
+ "depth": 1.42
528
+ },
529
+ "position": [
530
+ 0,
531
+ 0.62,
532
+ 0
533
+ ],
534
+ "material": {
535
+ "preset": "matte",
536
+ "color": "#fbf3ea"
537
+ }
538
+ },
539
+ {
540
+ "id": "winBar1",
541
+ "kind": "mesh",
542
+ "geometry": {
543
+ "type": "box",
544
+ "width": 0.06,
545
+ "height": 0.08,
546
+ "depth": 1.42
547
+ },
548
+ "position": [
549
+ 0,
550
+ -0.62,
551
+ 0
552
+ ],
553
+ "material": {
554
+ "preset": "matte",
555
+ "color": "#fbf3ea"
556
+ }
557
+ },
558
+ {
559
+ "id": "winBar2",
560
+ "kind": "mesh",
561
+ "geometry": {
562
+ "type": "box",
563
+ "width": 0.06,
564
+ "height": 1.32,
565
+ "depth": 0.08
566
+ },
567
+ "position": [
568
+ 0,
569
+ 0,
570
+ 0.67
571
+ ],
572
+ "material": {
573
+ "preset": "matte",
574
+ "color": "#fbf3ea"
575
+ }
576
+ },
577
+ {
578
+ "id": "winBar3",
579
+ "kind": "mesh",
580
+ "geometry": {
581
+ "type": "box",
582
+ "width": 0.06,
583
+ "height": 1.32,
584
+ "depth": 0.08
585
+ },
586
+ "position": [
587
+ 0,
588
+ 0,
589
+ -0.67
590
+ ],
591
+ "material": {
592
+ "preset": "matte",
593
+ "color": "#fbf3ea"
594
+ }
595
+ },
596
+ {
597
+ "id": "winBar4",
598
+ "kind": "mesh",
599
+ "geometry": {
600
+ "type": "box",
601
+ "width": 0.05,
602
+ "height": 1.2,
603
+ "depth": 0.04
604
+ },
605
+ "position": [
606
+ 0,
607
+ 0,
608
+ 0
609
+ ],
610
+ "material": {
611
+ "preset": "matte",
612
+ "color": "#fbf3ea"
613
+ }
614
+ },
615
+ {
616
+ "id": "winBar5",
617
+ "kind": "mesh",
618
+ "geometry": {
619
+ "type": "box",
620
+ "width": 0.05,
621
+ "height": 0.04,
622
+ "depth": 1.3
623
+ },
624
+ "position": [
625
+ 0,
626
+ 0,
627
+ 0
628
+ ],
629
+ "material": {
630
+ "preset": "matte",
631
+ "color": "#fbf3ea"
632
+ }
633
+ },
634
+ {
635
+ "id": "winSill",
636
+ "kind": "mesh",
637
+ "geometry": {
638
+ "type": "box",
639
+ "width": 0.18,
640
+ "height": 0.05,
641
+ "depth": 1.55
642
+ },
643
+ "position": [
644
+ 0.06,
645
+ -0.69,
646
+ 0
647
+ ],
648
+ "material": {
649
+ "preset": "matte",
650
+ "color": "#fbf3ea"
651
+ },
652
+ "castShadow": true
653
+ }
654
+ ]
655
+ }
656
+ ],
657
+ "postfx": [
658
+ {
659
+ "type": "look",
660
+ "preset": "cinematic",
661
+ "intensity": 0.7
662
+ },
663
+ {
664
+ "type": "ao",
665
+ "intensity": 1,
666
+ "radius": 0.35
667
+ },
668
+ {
669
+ "type": "grading",
670
+ "look": "warm",
671
+ "intensity": 0.5
672
+ }
673
+ ],
674
+ "timeline": {
675
+ "duration": 16,
676
+ "loop": true,
677
+ "tracks": [
678
+ {
679
+ "target": "camera.position",
680
+ "keys": [
681
+ [
682
+ 0,
683
+ [
684
+ 9,
685
+ 7.4,
686
+ 9
687
+ ]
688
+ ],
689
+ [
690
+ 8,
691
+ [
692
+ 9.8,
693
+ 7.4,
694
+ 8.1
695
+ ]
696
+ ],
697
+ [
698
+ 16,
699
+ [
700
+ 9,
701
+ 7.4,
702
+ 9
703
+ ]
704
+ ]
705
+ ],
706
+ "ease": "inOutSine"
707
+ },
708
+ {
709
+ "target": "sun.intensity",
710
+ "keys": [
711
+ [
712
+ 0,
713
+ 2.6
714
+ ],
715
+ [
716
+ 8,
717
+ 2.9
718
+ ],
719
+ [
720
+ 16,
721
+ 2.6
722
+ ]
723
+ ],
724
+ "ease": "inOutSine"
725
+ }
726
+ ]
727
+ }
728
+ }