@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,924 @@
1
+ {
2
+ "version": 1,
3
+ "id": "game-tap-targets",
4
+ "title": "Tap the targets",
5
+ "ariaLabel": "Reflex mini game: tap or click the targets popping out of the holes; keys 1 to 9 also work",
6
+ "seed": 5,
7
+ "target": {
8
+ "kind": "game",
9
+ "aspect": "16:9",
10
+ "budgetKb": 200,
11
+ "reducedMotion": "ignore",
12
+ "maxDpr": 2
13
+ },
14
+ "camera": {
15
+ "type": "perspective",
16
+ "fov": 40,
17
+ "position": [
18
+ 0,
19
+ 7.4,
20
+ 8.2
21
+ ],
22
+ "target": [
23
+ 0,
24
+ 0.3,
25
+ 0.5
26
+ ]
27
+ },
28
+ "environment": {
29
+ "background": {
30
+ "meshGradient": [
31
+ "#ffd6e5",
32
+ "#ffc1a8",
33
+ "#e3c8ff",
34
+ "#ffe9c7"
35
+ ],
36
+ "speed": 0.1,
37
+ "grain": 0.03
38
+ },
39
+ "lighting": "studio",
40
+ "lightingIntensity": 0.55,
41
+ "ground": {
42
+ "y": -0.6,
43
+ "size": 40,
44
+ "shadowOnly": true,
45
+ "opacity": 0.25
46
+ },
47
+ "shadows": {
48
+ "type": "vsm",
49
+ "softness": 5
50
+ }
51
+ },
52
+ "lights": [
53
+ {
54
+ "id": "fill",
55
+ "type": "hemisphere",
56
+ "skyColor": "#ffffff",
57
+ "groundColor": "#ffb3c6",
58
+ "intensity": 0.8
59
+ },
60
+ {
61
+ "id": "sun",
62
+ "type": "directional",
63
+ "position": [
64
+ 4,
65
+ 10,
66
+ 6
67
+ ],
68
+ "color": "#fff4e8",
69
+ "intensity": 2.2,
70
+ "castShadow": true
71
+ },
72
+ {
73
+ "id": "rim",
74
+ "type": "directional",
75
+ "position": [
76
+ -5,
77
+ 4,
78
+ -6
79
+ ],
80
+ "color": "#ffd1e6",
81
+ "intensity": 1.2
82
+ }
83
+ ],
84
+ "objects": [
85
+ {
86
+ "id": "board",
87
+ "kind": "mesh",
88
+ "geometry": {
89
+ "type": "roundedBox",
90
+ "width": 10.5,
91
+ "height": 0.6,
92
+ "depth": 7.4,
93
+ "radius": 0.25,
94
+ "segments": 4
95
+ },
96
+ "position": [
97
+ 0,
98
+ -0.3,
99
+ 0
100
+ ],
101
+ "material": {
102
+ "preset": "carPaint",
103
+ "color": "#2a9d8f"
104
+ },
105
+ "receiveShadow": true
106
+ },
107
+ {
108
+ "id": "hole0",
109
+ "kind": "mesh",
110
+ "geometry": {
111
+ "type": "cylinder",
112
+ "radiusTop": 0.85,
113
+ "radiusBottom": 0.85,
114
+ "height": 0.04,
115
+ "segments": 40
116
+ },
117
+ "position": [
118
+ -3.2,
119
+ 0.02,
120
+ -2.2
121
+ ],
122
+ "material": {
123
+ "type": "standard",
124
+ "color": "#123d38",
125
+ "roughness": 0.95
126
+ }
127
+ },
128
+ {
129
+ "id": "target0",
130
+ "kind": "model",
131
+ "src": "library:models/platformer/target.glb",
132
+ "fit": 1.6,
133
+ "position": [
134
+ -3.2,
135
+ 0.0,
136
+ -2.2
137
+ ],
138
+ "rotation": [
139
+ 0,
140
+ 0,
141
+ 0
142
+ ],
143
+ "visible": false,
144
+ "body": {
145
+ "type": "trigger",
146
+ "size": [
147
+ 1.6,
148
+ 1.6,
149
+ 0.6
150
+ ]
151
+ },
152
+ "castShadow": true
153
+ },
154
+ {
155
+ "id": "hole1",
156
+ "kind": "mesh",
157
+ "geometry": {
158
+ "type": "cylinder",
159
+ "radiusTop": 0.85,
160
+ "radiusBottom": 0.85,
161
+ "height": 0.04,
162
+ "segments": 40
163
+ },
164
+ "position": [
165
+ 0.0,
166
+ 0.02,
167
+ -2.2
168
+ ],
169
+ "material": {
170
+ "type": "standard",
171
+ "color": "#123d38",
172
+ "roughness": 0.95
173
+ }
174
+ },
175
+ {
176
+ "id": "target1",
177
+ "kind": "model",
178
+ "src": "library:models/platformer/target.glb",
179
+ "fit": 1.6,
180
+ "position": [
181
+ 0.0,
182
+ 0.0,
183
+ -2.2
184
+ ],
185
+ "rotation": [
186
+ 0,
187
+ 0,
188
+ 0
189
+ ],
190
+ "visible": false,
191
+ "body": {
192
+ "type": "trigger",
193
+ "size": [
194
+ 1.6,
195
+ 1.6,
196
+ 0.6
197
+ ]
198
+ },
199
+ "castShadow": true
200
+ },
201
+ {
202
+ "id": "hole2",
203
+ "kind": "mesh",
204
+ "geometry": {
205
+ "type": "cylinder",
206
+ "radiusTop": 0.85,
207
+ "radiusBottom": 0.85,
208
+ "height": 0.04,
209
+ "segments": 40
210
+ },
211
+ "position": [
212
+ 3.2,
213
+ 0.02,
214
+ -2.2
215
+ ],
216
+ "material": {
217
+ "type": "standard",
218
+ "color": "#123d38",
219
+ "roughness": 0.95
220
+ }
221
+ },
222
+ {
223
+ "id": "target2",
224
+ "kind": "model",
225
+ "src": "library:models/platformer/target.glb",
226
+ "fit": 1.6,
227
+ "position": [
228
+ 3.2,
229
+ 0.0,
230
+ -2.2
231
+ ],
232
+ "rotation": [
233
+ 0,
234
+ 0,
235
+ 0
236
+ ],
237
+ "visible": false,
238
+ "body": {
239
+ "type": "trigger",
240
+ "size": [
241
+ 1.6,
242
+ 1.6,
243
+ 0.6
244
+ ]
245
+ },
246
+ "castShadow": true
247
+ },
248
+ {
249
+ "id": "hole3",
250
+ "kind": "mesh",
251
+ "geometry": {
252
+ "type": "cylinder",
253
+ "radiusTop": 0.85,
254
+ "radiusBottom": 0.85,
255
+ "height": 0.04,
256
+ "segments": 40
257
+ },
258
+ "position": [
259
+ -3.2,
260
+ 0.02,
261
+ 0.0
262
+ ],
263
+ "material": {
264
+ "type": "standard",
265
+ "color": "#123d38",
266
+ "roughness": 0.95
267
+ }
268
+ },
269
+ {
270
+ "id": "target3",
271
+ "kind": "model",
272
+ "src": "library:models/platformer/target.glb",
273
+ "fit": 1.6,
274
+ "position": [
275
+ -3.2,
276
+ 0.0,
277
+ 0.0
278
+ ],
279
+ "rotation": [
280
+ 0,
281
+ 0,
282
+ 0
283
+ ],
284
+ "visible": false,
285
+ "body": {
286
+ "type": "trigger",
287
+ "size": [
288
+ 1.6,
289
+ 1.6,
290
+ 0.6
291
+ ]
292
+ },
293
+ "castShadow": true
294
+ },
295
+ {
296
+ "id": "hole4",
297
+ "kind": "mesh",
298
+ "geometry": {
299
+ "type": "cylinder",
300
+ "radiusTop": 0.85,
301
+ "radiusBottom": 0.85,
302
+ "height": 0.04,
303
+ "segments": 40
304
+ },
305
+ "position": [
306
+ 0.0,
307
+ 0.02,
308
+ 0.0
309
+ ],
310
+ "material": {
311
+ "type": "standard",
312
+ "color": "#123d38",
313
+ "roughness": 0.95
314
+ }
315
+ },
316
+ {
317
+ "id": "target4",
318
+ "kind": "model",
319
+ "src": "library:models/platformer/target.glb",
320
+ "fit": 1.6,
321
+ "position": [
322
+ 0.0,
323
+ 0.0,
324
+ 0.0
325
+ ],
326
+ "rotation": [
327
+ 0,
328
+ 0,
329
+ 0
330
+ ],
331
+ "visible": false,
332
+ "body": {
333
+ "type": "trigger",
334
+ "size": [
335
+ 1.6,
336
+ 1.6,
337
+ 0.6
338
+ ]
339
+ },
340
+ "castShadow": true
341
+ },
342
+ {
343
+ "id": "hole5",
344
+ "kind": "mesh",
345
+ "geometry": {
346
+ "type": "cylinder",
347
+ "radiusTop": 0.85,
348
+ "radiusBottom": 0.85,
349
+ "height": 0.04,
350
+ "segments": 40
351
+ },
352
+ "position": [
353
+ 3.2,
354
+ 0.02,
355
+ 0.0
356
+ ],
357
+ "material": {
358
+ "type": "standard",
359
+ "color": "#123d38",
360
+ "roughness": 0.95
361
+ }
362
+ },
363
+ {
364
+ "id": "target5",
365
+ "kind": "model",
366
+ "src": "library:models/platformer/target.glb",
367
+ "fit": 1.6,
368
+ "position": [
369
+ 3.2,
370
+ 0.0,
371
+ 0.0
372
+ ],
373
+ "rotation": [
374
+ 0,
375
+ 0,
376
+ 0
377
+ ],
378
+ "visible": false,
379
+ "body": {
380
+ "type": "trigger",
381
+ "size": [
382
+ 1.6,
383
+ 1.6,
384
+ 0.6
385
+ ]
386
+ },
387
+ "castShadow": true
388
+ },
389
+ {
390
+ "id": "hole6",
391
+ "kind": "mesh",
392
+ "geometry": {
393
+ "type": "cylinder",
394
+ "radiusTop": 0.85,
395
+ "radiusBottom": 0.85,
396
+ "height": 0.04,
397
+ "segments": 40
398
+ },
399
+ "position": [
400
+ -3.2,
401
+ 0.02,
402
+ 2.2
403
+ ],
404
+ "material": {
405
+ "type": "standard",
406
+ "color": "#123d38",
407
+ "roughness": 0.95
408
+ }
409
+ },
410
+ {
411
+ "id": "target6",
412
+ "kind": "model",
413
+ "src": "library:models/platformer/target.glb",
414
+ "fit": 1.6,
415
+ "position": [
416
+ -3.2,
417
+ 0.0,
418
+ 2.2
419
+ ],
420
+ "rotation": [
421
+ 0,
422
+ 0,
423
+ 0
424
+ ],
425
+ "visible": false,
426
+ "body": {
427
+ "type": "trigger",
428
+ "size": [
429
+ 1.6,
430
+ 1.6,
431
+ 0.6
432
+ ]
433
+ },
434
+ "castShadow": true
435
+ },
436
+ {
437
+ "id": "hole7",
438
+ "kind": "mesh",
439
+ "geometry": {
440
+ "type": "cylinder",
441
+ "radiusTop": 0.85,
442
+ "radiusBottom": 0.85,
443
+ "height": 0.04,
444
+ "segments": 40
445
+ },
446
+ "position": [
447
+ 0.0,
448
+ 0.02,
449
+ 2.2
450
+ ],
451
+ "material": {
452
+ "type": "standard",
453
+ "color": "#123d38",
454
+ "roughness": 0.95
455
+ }
456
+ },
457
+ {
458
+ "id": "target7",
459
+ "kind": "model",
460
+ "src": "library:models/platformer/target.glb",
461
+ "fit": 1.6,
462
+ "position": [
463
+ 0.0,
464
+ 0.0,
465
+ 2.2
466
+ ],
467
+ "rotation": [
468
+ 0,
469
+ 0,
470
+ 0
471
+ ],
472
+ "visible": false,
473
+ "body": {
474
+ "type": "trigger",
475
+ "size": [
476
+ 1.6,
477
+ 1.6,
478
+ 0.6
479
+ ]
480
+ },
481
+ "castShadow": true
482
+ },
483
+ {
484
+ "id": "hole8",
485
+ "kind": "mesh",
486
+ "geometry": {
487
+ "type": "cylinder",
488
+ "radiusTop": 0.85,
489
+ "radiusBottom": 0.85,
490
+ "height": 0.04,
491
+ "segments": 40
492
+ },
493
+ "position": [
494
+ 3.2,
495
+ 0.02,
496
+ 2.2
497
+ ],
498
+ "material": {
499
+ "type": "standard",
500
+ "color": "#123d38",
501
+ "roughness": 0.95
502
+ }
503
+ },
504
+ {
505
+ "id": "target8",
506
+ "kind": "model",
507
+ "src": "library:models/platformer/target.glb",
508
+ "fit": 1.6,
509
+ "position": [
510
+ 3.2,
511
+ 0.0,
512
+ 2.2
513
+ ],
514
+ "rotation": [
515
+ 0,
516
+ 0,
517
+ 0
518
+ ],
519
+ "visible": false,
520
+ "body": {
521
+ "type": "trigger",
522
+ "size": [
523
+ 1.6,
524
+ 1.6,
525
+ 0.6
526
+ ]
527
+ },
528
+ "castShadow": true
529
+ },
530
+ {
531
+ "id": "confetti",
532
+ "kind": "particles",
533
+ "preset": "confetti",
534
+ "count": 60,
535
+ "area": [
536
+ 14,
537
+ 6,
538
+ 4
539
+ ],
540
+ "position": [
541
+ 0,
542
+ 5,
543
+ -3
544
+ ],
545
+ "size": 0.08,
546
+ "opacity": 0.8
547
+ },
548
+ {
549
+ "id": "hole0Rim",
550
+ "kind": "mesh",
551
+ "geometry": {
552
+ "type": "torus",
553
+ "radius": 0.86,
554
+ "tube": 0.07,
555
+ "radialSegments": 10,
556
+ "tubularSegments": 48
557
+ },
558
+ "rotation": [
559
+ 90,
560
+ 0,
561
+ 0
562
+ ],
563
+ "position": [
564
+ -3.2,
565
+ 0.03,
566
+ -2.2
567
+ ],
568
+ "material": {
569
+ "preset": "plastic",
570
+ "color": "#fff3e0",
571
+ "roughness": 0.3
572
+ }
573
+ },
574
+ {
575
+ "id": "hole1Rim",
576
+ "kind": "mesh",
577
+ "geometry": {
578
+ "type": "torus",
579
+ "radius": 0.86,
580
+ "tube": 0.07,
581
+ "radialSegments": 10,
582
+ "tubularSegments": 48
583
+ },
584
+ "rotation": [
585
+ 90,
586
+ 0,
587
+ 0
588
+ ],
589
+ "position": [
590
+ 0.0,
591
+ 0.03,
592
+ -2.2
593
+ ],
594
+ "material": {
595
+ "preset": "plastic",
596
+ "color": "#fff3e0",
597
+ "roughness": 0.3
598
+ }
599
+ },
600
+ {
601
+ "id": "hole2Rim",
602
+ "kind": "mesh",
603
+ "geometry": {
604
+ "type": "torus",
605
+ "radius": 0.86,
606
+ "tube": 0.07,
607
+ "radialSegments": 10,
608
+ "tubularSegments": 48
609
+ },
610
+ "rotation": [
611
+ 90,
612
+ 0,
613
+ 0
614
+ ],
615
+ "position": [
616
+ 3.2,
617
+ 0.03,
618
+ -2.2
619
+ ],
620
+ "material": {
621
+ "preset": "plastic",
622
+ "color": "#fff3e0",
623
+ "roughness": 0.3
624
+ }
625
+ },
626
+ {
627
+ "id": "hole3Rim",
628
+ "kind": "mesh",
629
+ "geometry": {
630
+ "type": "torus",
631
+ "radius": 0.86,
632
+ "tube": 0.07,
633
+ "radialSegments": 10,
634
+ "tubularSegments": 48
635
+ },
636
+ "rotation": [
637
+ 90,
638
+ 0,
639
+ 0
640
+ ],
641
+ "position": [
642
+ -3.2,
643
+ 0.03,
644
+ 0.0
645
+ ],
646
+ "material": {
647
+ "preset": "plastic",
648
+ "color": "#fff3e0",
649
+ "roughness": 0.3
650
+ }
651
+ },
652
+ {
653
+ "id": "hole4Rim",
654
+ "kind": "mesh",
655
+ "geometry": {
656
+ "type": "torus",
657
+ "radius": 0.86,
658
+ "tube": 0.07,
659
+ "radialSegments": 10,
660
+ "tubularSegments": 48
661
+ },
662
+ "rotation": [
663
+ 90,
664
+ 0,
665
+ 0
666
+ ],
667
+ "position": [
668
+ 0.0,
669
+ 0.03,
670
+ 0.0
671
+ ],
672
+ "material": {
673
+ "preset": "plastic",
674
+ "color": "#fff3e0",
675
+ "roughness": 0.3
676
+ }
677
+ },
678
+ {
679
+ "id": "hole5Rim",
680
+ "kind": "mesh",
681
+ "geometry": {
682
+ "type": "torus",
683
+ "radius": 0.86,
684
+ "tube": 0.07,
685
+ "radialSegments": 10,
686
+ "tubularSegments": 48
687
+ },
688
+ "rotation": [
689
+ 90,
690
+ 0,
691
+ 0
692
+ ],
693
+ "position": [
694
+ 3.2,
695
+ 0.03,
696
+ 0.0
697
+ ],
698
+ "material": {
699
+ "preset": "plastic",
700
+ "color": "#fff3e0",
701
+ "roughness": 0.3
702
+ }
703
+ },
704
+ {
705
+ "id": "hole6Rim",
706
+ "kind": "mesh",
707
+ "geometry": {
708
+ "type": "torus",
709
+ "radius": 0.86,
710
+ "tube": 0.07,
711
+ "radialSegments": 10,
712
+ "tubularSegments": 48
713
+ },
714
+ "rotation": [
715
+ 90,
716
+ 0,
717
+ 0
718
+ ],
719
+ "position": [
720
+ -3.2,
721
+ 0.03,
722
+ 2.2
723
+ ],
724
+ "material": {
725
+ "preset": "plastic",
726
+ "color": "#fff3e0",
727
+ "roughness": 0.3
728
+ }
729
+ },
730
+ {
731
+ "id": "hole7Rim",
732
+ "kind": "mesh",
733
+ "geometry": {
734
+ "type": "torus",
735
+ "radius": 0.86,
736
+ "tube": 0.07,
737
+ "radialSegments": 10,
738
+ "tubularSegments": 48
739
+ },
740
+ "rotation": [
741
+ 90,
742
+ 0,
743
+ 0
744
+ ],
745
+ "position": [
746
+ 0.0,
747
+ 0.03,
748
+ 2.2
749
+ ],
750
+ "material": {
751
+ "preset": "plastic",
752
+ "color": "#fff3e0",
753
+ "roughness": 0.3
754
+ }
755
+ },
756
+ {
757
+ "id": "hole8Rim",
758
+ "kind": "mesh",
759
+ "geometry": {
760
+ "type": "torus",
761
+ "radius": 0.86,
762
+ "tube": 0.07,
763
+ "radialSegments": 10,
764
+ "tubularSegments": 48
765
+ },
766
+ "rotation": [
767
+ 90,
768
+ 0,
769
+ 0
770
+ ],
771
+ "position": [
772
+ 3.2,
773
+ 0.03,
774
+ 2.2
775
+ ],
776
+ "material": {
777
+ "preset": "plastic",
778
+ "color": "#fff3e0",
779
+ "roughness": 0.3
780
+ }
781
+ },
782
+ {
783
+ "id": "sparkles",
784
+ "kind": "particles",
785
+ "preset": "magic",
786
+ "count": 40,
787
+ "area": [
788
+ 11,
789
+ 2,
790
+ 7
791
+ ],
792
+ "position": [
793
+ 0,
794
+ 1.2,
795
+ 0
796
+ ],
797
+ "color": [
798
+ "#fff3b0",
799
+ "#ffd1e8"
800
+ ],
801
+ "size": 0.1
802
+ }
803
+ ],
804
+ "scripts": [
805
+ "scripts/targets.js"
806
+ ],
807
+ "data": {
808
+ "targets": {
809
+ "round": 30,
810
+ "upTime": 1.3,
811
+ "minUpTime": 0.6,
812
+ "spawnEvery": 0.7,
813
+ "minSpawnEvery": 0.35,
814
+ "comboWindow": 1.2,
815
+ "goldChance": 0.12
816
+ }
817
+ },
818
+ "ui": {
819
+ "color": "#3b1530",
820
+ "accent": "#ff006e",
821
+ "elements": [
822
+ {
823
+ "id": "scoreHud",
824
+ "type": "text",
825
+ "text": "Score {score} {combo}",
826
+ "anchor": "top-left",
827
+ "style": "pill"
828
+ },
829
+ {
830
+ "id": "timer",
831
+ "type": "text",
832
+ "text": "{time} s",
833
+ "anchor": "top",
834
+ "style": "pill",
835
+ "visible": "phase == 'play'"
836
+ },
837
+ {
838
+ "id": "bar",
839
+ "type": "bar",
840
+ "value": "timeBar",
841
+ "anchor": "top",
842
+ "visible": "phase == 'play'"
843
+ },
844
+ {
845
+ "id": "bestHud",
846
+ "type": "text",
847
+ "text": "Best {best}",
848
+ "anchor": "top-right",
849
+ "style": "pill"
850
+ },
851
+ {
852
+ "id": "title",
853
+ "type": "text",
854
+ "text": "Tap Tap Targets",
855
+ "anchor": "top",
856
+ "style": "title",
857
+ "visible": "phase == 'attract'"
858
+ },
859
+ {
860
+ "id": "hint",
861
+ "type": "text",
862
+ "text": "Tap or click to start \u2014 keys 1\u20139 work too",
863
+ "anchor": "bottom",
864
+ "style": "subtitle",
865
+ "visible": "phase == 'attract'"
866
+ },
867
+ {
868
+ "id": "over",
869
+ "type": "text",
870
+ "text": "Time! {score} pts \u2014 {hits} hits",
871
+ "anchor": "center",
872
+ "style": "title",
873
+ "visible": "phase == 'over'"
874
+ },
875
+ {
876
+ "id": "retry",
877
+ "type": "button",
878
+ "text": "Play again",
879
+ "anchor": "bottom",
880
+ "action": "retry",
881
+ "visible": "phase == 'over'"
882
+ }
883
+ ]
884
+ },
885
+ "audio": {
886
+ "sounds": {
887
+ "coin": {
888
+ "preset": "coin",
889
+ "volume": 0.45
890
+ },
891
+ "powerup": {
892
+ "preset": "powerup",
893
+ "volume": 0.5
894
+ },
895
+ "click": {
896
+ "preset": "click",
897
+ "volume": 0.4
898
+ },
899
+ "win": {
900
+ "preset": "win"
901
+ }
902
+ }
903
+ },
904
+ "postfx": [
905
+ {
906
+ "type": "bloom",
907
+ "strength": 0.35,
908
+ "threshold": 1.4,
909
+ "radius": 0.5
910
+ },
911
+ {
912
+ "type": "grading",
913
+ "saturation": 1.08,
914
+ "vibrance": 0.15
915
+ },
916
+ {
917
+ "type": "vignette",
918
+ "darkness": 0.45
919
+ },
920
+ {
921
+ "type": "fxaa"
922
+ }
923
+ ]
924
+ }