@fleox/agent3d 0.0.0-stage → 0.2.1

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 +396 -2
  3. package/changelog.json +68 -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-Bdtm4fBN.mjs +178 -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-Dz9PFxi9.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-BOIyp_2B.mjs +75 -0
  19. package/dist/agent/chunks/png-DXfSGJZt.mjs +91 -0
  20. package/dist/agent/chunks/render-CN4mgGLQ.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-XmME4f7Z.js +1 -0
  31. package/dist/runtime/chunks/EXRLoader-CBdIpBMT.js +1 -0
  32. package/dist/runtime/chunks/FontLoader-dVu9WH2X.js +2 -0
  33. package/dist/runtime/chunks/GLTFLoader-Z9Inv-Xm.js +1 -0
  34. package/dist/runtime/chunks/GroundedSkybox-g1ASZWNu.js +1 -0
  35. package/dist/runtime/chunks/HDRLoader-DBOMWa7O.js +5 -0
  36. package/dist/runtime/chunks/OrbitControls-BIpWXK4x.js +1 -0
  37. package/dist/runtime/chunks/RectAreaLightUniformsLib-4ZzgX9vp.js +1 -0
  38. package/dist/runtime/chunks/RoomEnvironment-CXgfLJdO.js +1 -0
  39. package/dist/runtime/chunks/RoundedBoxGeometry-BViRogcJ.js +1 -0
  40. package/dist/runtime/chunks/SVGLoader-CV0U1EIF.js +1 -0
  41. package/dist/runtime/chunks/SkeletonUtils-DHlReJx3.js +1 -0
  42. package/dist/runtime/chunks/Sky-DGJXlPb_.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-D6WnITQq.js +1 -0
  47. package/dist/runtime/chunks/game-BoEiyZrL.js +20 -0
  48. package/dist/runtime/chunks/generators-D5JUo0jp.js +331 -0
  49. package/dist/runtime/chunks/materials-Dn-bYrZd.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-BCVF3QzB.js +1 -0
  53. package/dist/runtime/chunks/params-C2uoUDJ0.js +1 -0
  54. package/dist/runtime/chunks/physicsHost-ChPgysMQ.js +1 -0
  55. package/dist/runtime/chunks/postfx-UgKCbmZs.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-Dw6zHdu_.js +443 -0
  59. package/dist/runtime/chunks/svg-CmlFY_8O.js +1 -0
  60. package/dist/runtime/chunks/text-D1EQpdSU.js +2 -0
  61. package/dist/runtime/chunks/three.module-DnaBiDAJ.js +4225 -0
  62. package/dist/runtime/chunks/toon-BsvVk_nK.js +6 -0
  63. package/dist/runtime/chunks/util-CyaW1fcW.js +1 -0
  64. package/dist/studio/assets/BufferGeometryUtils-CAlXAboW.js +1 -0
  65. package/dist/studio/assets/EXRLoader-BKkzlNd8.js +1 -0
  66. package/dist/studio/assets/FontLoader-Bzjx8mXt.js +2 -0
  67. package/dist/studio/assets/GLTFLoader-1Zd9N406.js +1 -0
  68. package/dist/studio/assets/GroundedSkybox-BEMqNCBD.js +1 -0
  69. package/dist/studio/assets/HDRLoader-DxB0kxPH.js +5 -0
  70. package/dist/studio/assets/OrbitControls-MlE9XiCg.js +1 -0
  71. package/dist/studio/assets/RectAreaLightUniformsLib-ClHrtYY6.js +1 -0
  72. package/dist/studio/assets/RoomEnvironment-MJ-jIEC8.js +1 -0
  73. package/dist/studio/assets/SVGLoader-CIYl0nEy.js +1 -0
  74. package/dist/studio/assets/SkeletonUtils-CG5akqME.js +1 -0
  75. package/dist/studio/assets/Sky-DNMfpp92.js +243 -0
  76. package/dist/studio/assets/audio-JD1kyX0A.js +1 -0
  77. package/dist/studio/assets/camera-7sEn13L-.js +2 -0
  78. package/dist/studio/assets/editor-CnbvVkhU.js +53 -0
  79. package/dist/studio/assets/extrude-9bG8hr2C.js +1 -0
  80. package/dist/studio/assets/game-B04KGAK0.js +19 -0
  81. package/dist/studio/assets/generators-LSni1Yfc.js +331 -0
  82. package/dist/studio/assets/index-3LL5NEIH.js +479 -0
  83. package/dist/studio/assets/index-BQT0otii.css +1 -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-CNddhwmA.js +2 -0
  87. package/dist/studio/assets/physicsHost-hMU_SDiX.js +1 -0
  88. package/dist/studio/assets/postfx-BcCZS0Bq.js +1527 -0
  89. package/dist/studio/assets/runtime-DY_KqD1x.js +572 -0
  90. package/dist/studio/assets/shaders-BhMCstyv.js +443 -0
  91. package/dist/studio/assets/svg-CNKK-h7H.js +2 -0
  92. package/dist/studio/assets/text-BSPI7dk1.js +3 -0
  93. package/dist/studio/assets/three.module-CnI50X0U.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,1712 @@
1
+ {
2
+ "version": 1,
3
+ "id": "game-physics-playground",
4
+ "title": "Tower smash",
5
+ "ariaLabel": "Physics mini game: click or tap to throw balls at a tower of wooden blocks and knock it down",
6
+ "seed": 7,
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
+ 6.4,
20
+ 9.4
21
+ ],
22
+ "target": [
23
+ 0,
24
+ 1.25,
25
+ 0
26
+ ]
27
+ },
28
+ "environment": {
29
+ "background": {
30
+ "gradient": [
31
+ "#f4d6c8",
32
+ "#ee8a82"
33
+ ],
34
+ "angle": 0
35
+ },
36
+ "fog": {
37
+ "color": "#efc1b0",
38
+ "near": 14,
39
+ "far": 34
40
+ },
41
+ "lighting": "studio",
42
+ "lightingIntensity": 0.3
43
+ },
44
+ "lights": [
45
+ {
46
+ "id": "fill",
47
+ "type": "hemisphere",
48
+ "skyColor": "#fff4e8",
49
+ "groundColor": "#b9786e",
50
+ "intensity": 0.45
51
+ },
52
+ {
53
+ "id": "sun",
54
+ "type": "directional",
55
+ "position": [
56
+ -6,
57
+ 10,
58
+ 6
59
+ ],
60
+ "intensity": 3.6,
61
+ "color": "#fff1dc",
62
+ "castShadow": true
63
+ },
64
+ {
65
+ "id": "rim",
66
+ "type": "directional",
67
+ "position": [
68
+ 7,
69
+ 6,
70
+ -7
71
+ ],
72
+ "intensity": 1.4,
73
+ "color": "#ffc2d9"
74
+ }
75
+ ],
76
+ "objects": [
77
+ {
78
+ "id": "ground",
79
+ "kind": "mesh",
80
+ "geometry": {
81
+ "type": "box",
82
+ "width": 140,
83
+ "height": 1,
84
+ "depth": 100
85
+ },
86
+ "position": [
87
+ 0,
88
+ -0.5,
89
+ -30
90
+ ],
91
+ "material": {
92
+ "preset": "matte",
93
+ "color": "#f3cdbb"
94
+ },
95
+ "receiveShadow": true,
96
+ "body": {
97
+ "type": "static",
98
+ "friction": 0.7
99
+ }
100
+ },
101
+ {
102
+ "id": "pedestal",
103
+ "kind": "mesh",
104
+ "geometry": {
105
+ "type": "cylinder",
106
+ "radiusTop": 1.9,
107
+ "radiusBottom": 2.1,
108
+ "height": 0.6,
109
+ "segments": 48
110
+ },
111
+ "position": [
112
+ 0,
113
+ 0.3,
114
+ 0
115
+ ],
116
+ "material": {
117
+ "preset": "ceramic",
118
+ "color": "#463b52"
119
+ },
120
+ "castShadow": true,
121
+ "receiveShadow": true,
122
+ "body": {
123
+ "type": "static",
124
+ "shape": "auto",
125
+ "friction": 0.7
126
+ }
127
+ },
128
+ {
129
+ "id": "block0",
130
+ "kind": "mesh",
131
+ "geometry": {
132
+ "type": "roundedBox",
133
+ "width": 1.5,
134
+ "height": 0.3,
135
+ "depth": 0.48,
136
+ "radius": 0.035,
137
+ "segments": 2
138
+ },
139
+ "position": [
140
+ 0,
141
+ 0.75,
142
+ -0.51
143
+ ],
144
+ "material": {
145
+ "type": "physical",
146
+ "color": "#e76f51",
147
+ "roughness": 0.5,
148
+ "clearcoat": 0.5,
149
+ "clearcoatRoughness": 0.3,
150
+ "map": {
151
+ "procedural": "wood",
152
+ "rings": 3,
153
+ "colors": [
154
+ "#ffffff",
155
+ "#eadbc6"
156
+ ],
157
+ "resolution": 128
158
+ },
159
+ "bumpMap": {
160
+ "procedural": "wood",
161
+ "rings": 3,
162
+ "resolution": 128
163
+ },
164
+ "bumpScale": 0.06
165
+ },
166
+ "castShadow": true,
167
+ "receiveShadow": true,
168
+ "tags": [
169
+ "block"
170
+ ],
171
+ "body": {
172
+ "type": "dynamic",
173
+ "mass": 0.6,
174
+ "friction": 0.55,
175
+ "restitution": 0.05
176
+ }
177
+ },
178
+ {
179
+ "id": "block1",
180
+ "kind": "mesh",
181
+ "geometry": {
182
+ "type": "roundedBox",
183
+ "width": 1.5,
184
+ "height": 0.3,
185
+ "depth": 0.48,
186
+ "radius": 0.035,
187
+ "segments": 2
188
+ },
189
+ "position": [
190
+ 0,
191
+ 0.75,
192
+ 0
193
+ ],
194
+ "material": {
195
+ "type": "physical",
196
+ "color": "#e76f51",
197
+ "roughness": 0.5,
198
+ "clearcoat": 0.5,
199
+ "clearcoatRoughness": 0.3,
200
+ "map": {
201
+ "procedural": "wood",
202
+ "rings": 3,
203
+ "colors": [
204
+ "#ffffff",
205
+ "#eadbc6"
206
+ ],
207
+ "resolution": 128
208
+ },
209
+ "bumpMap": {
210
+ "procedural": "wood",
211
+ "rings": 3,
212
+ "resolution": 128
213
+ },
214
+ "bumpScale": 0.06
215
+ },
216
+ "castShadow": true,
217
+ "receiveShadow": true,
218
+ "tags": [
219
+ "block"
220
+ ],
221
+ "body": {
222
+ "type": "dynamic",
223
+ "mass": 0.6,
224
+ "friction": 0.55,
225
+ "restitution": 0.05
226
+ }
227
+ },
228
+ {
229
+ "id": "block2",
230
+ "kind": "mesh",
231
+ "geometry": {
232
+ "type": "roundedBox",
233
+ "width": 1.5,
234
+ "height": 0.3,
235
+ "depth": 0.48,
236
+ "radius": 0.035,
237
+ "segments": 2
238
+ },
239
+ "position": [
240
+ 0,
241
+ 0.75,
242
+ 0.51
243
+ ],
244
+ "material": {
245
+ "type": "physical",
246
+ "color": "#e76f51",
247
+ "roughness": 0.5,
248
+ "clearcoat": 0.5,
249
+ "clearcoatRoughness": 0.3,
250
+ "map": {
251
+ "procedural": "wood",
252
+ "rings": 3,
253
+ "colors": [
254
+ "#ffffff",
255
+ "#eadbc6"
256
+ ],
257
+ "resolution": 128
258
+ },
259
+ "bumpMap": {
260
+ "procedural": "wood",
261
+ "rings": 3,
262
+ "resolution": 128
263
+ },
264
+ "bumpScale": 0.06
265
+ },
266
+ "castShadow": true,
267
+ "receiveShadow": true,
268
+ "tags": [
269
+ "block"
270
+ ],
271
+ "body": {
272
+ "type": "dynamic",
273
+ "mass": 0.6,
274
+ "friction": 0.55,
275
+ "restitution": 0.05
276
+ }
277
+ },
278
+ {
279
+ "id": "block3",
280
+ "kind": "mesh",
281
+ "geometry": {
282
+ "type": "roundedBox",
283
+ "width": 1.5,
284
+ "height": 0.3,
285
+ "depth": 0.48,
286
+ "radius": 0.035,
287
+ "segments": 2
288
+ },
289
+ "position": [
290
+ -0.51,
291
+ 1.05,
292
+ 0
293
+ ],
294
+ "rotation": [
295
+ 0,
296
+ 90,
297
+ 0
298
+ ],
299
+ "material": {
300
+ "type": "physical",
301
+ "color": "#f4a261",
302
+ "roughness": 0.5,
303
+ "clearcoat": 0.5,
304
+ "clearcoatRoughness": 0.3,
305
+ "map": {
306
+ "procedural": "wood",
307
+ "rings": 3,
308
+ "colors": [
309
+ "#ffffff",
310
+ "#eadbc6"
311
+ ],
312
+ "resolution": 128
313
+ },
314
+ "bumpMap": {
315
+ "procedural": "wood",
316
+ "rings": 3,
317
+ "resolution": 128
318
+ },
319
+ "bumpScale": 0.06
320
+ },
321
+ "castShadow": true,
322
+ "receiveShadow": true,
323
+ "tags": [
324
+ "block"
325
+ ],
326
+ "body": {
327
+ "type": "dynamic",
328
+ "mass": 0.6,
329
+ "friction": 0.55,
330
+ "restitution": 0.05
331
+ }
332
+ },
333
+ {
334
+ "id": "block4",
335
+ "kind": "mesh",
336
+ "geometry": {
337
+ "type": "roundedBox",
338
+ "width": 1.5,
339
+ "height": 0.3,
340
+ "depth": 0.48,
341
+ "radius": 0.035,
342
+ "segments": 2
343
+ },
344
+ "position": [
345
+ 0,
346
+ 1.05,
347
+ 0
348
+ ],
349
+ "rotation": [
350
+ 0,
351
+ 90,
352
+ 0
353
+ ],
354
+ "material": {
355
+ "type": "physical",
356
+ "color": "#f4a261",
357
+ "roughness": 0.5,
358
+ "clearcoat": 0.5,
359
+ "clearcoatRoughness": 0.3,
360
+ "map": {
361
+ "procedural": "wood",
362
+ "rings": 3,
363
+ "colors": [
364
+ "#ffffff",
365
+ "#eadbc6"
366
+ ],
367
+ "resolution": 128
368
+ },
369
+ "bumpMap": {
370
+ "procedural": "wood",
371
+ "rings": 3,
372
+ "resolution": 128
373
+ },
374
+ "bumpScale": 0.06
375
+ },
376
+ "castShadow": true,
377
+ "receiveShadow": true,
378
+ "tags": [
379
+ "block"
380
+ ],
381
+ "body": {
382
+ "type": "dynamic",
383
+ "mass": 0.6,
384
+ "friction": 0.55,
385
+ "restitution": 0.05
386
+ }
387
+ },
388
+ {
389
+ "id": "block5",
390
+ "kind": "mesh",
391
+ "geometry": {
392
+ "type": "roundedBox",
393
+ "width": 1.5,
394
+ "height": 0.3,
395
+ "depth": 0.48,
396
+ "radius": 0.035,
397
+ "segments": 2
398
+ },
399
+ "position": [
400
+ 0.51,
401
+ 1.05,
402
+ 0
403
+ ],
404
+ "rotation": [
405
+ 0,
406
+ 90,
407
+ 0
408
+ ],
409
+ "material": {
410
+ "type": "physical",
411
+ "color": "#f4a261",
412
+ "roughness": 0.5,
413
+ "clearcoat": 0.5,
414
+ "clearcoatRoughness": 0.3,
415
+ "map": {
416
+ "procedural": "wood",
417
+ "rings": 3,
418
+ "colors": [
419
+ "#ffffff",
420
+ "#eadbc6"
421
+ ],
422
+ "resolution": 128
423
+ },
424
+ "bumpMap": {
425
+ "procedural": "wood",
426
+ "rings": 3,
427
+ "resolution": 128
428
+ },
429
+ "bumpScale": 0.06
430
+ },
431
+ "castShadow": true,
432
+ "receiveShadow": true,
433
+ "tags": [
434
+ "block"
435
+ ],
436
+ "body": {
437
+ "type": "dynamic",
438
+ "mass": 0.6,
439
+ "friction": 0.55,
440
+ "restitution": 0.05
441
+ }
442
+ },
443
+ {
444
+ "id": "block6",
445
+ "kind": "mesh",
446
+ "geometry": {
447
+ "type": "roundedBox",
448
+ "width": 1.5,
449
+ "height": 0.3,
450
+ "depth": 0.48,
451
+ "radius": 0.035,
452
+ "segments": 2
453
+ },
454
+ "position": [
455
+ 0,
456
+ 1.35,
457
+ -0.51
458
+ ],
459
+ "material": {
460
+ "type": "physical",
461
+ "color": "#e9c46a",
462
+ "roughness": 0.5,
463
+ "clearcoat": 0.5,
464
+ "clearcoatRoughness": 0.3,
465
+ "map": {
466
+ "procedural": "wood",
467
+ "rings": 3,
468
+ "colors": [
469
+ "#ffffff",
470
+ "#eadbc6"
471
+ ],
472
+ "resolution": 128
473
+ },
474
+ "bumpMap": {
475
+ "procedural": "wood",
476
+ "rings": 3,
477
+ "resolution": 128
478
+ },
479
+ "bumpScale": 0.06
480
+ },
481
+ "castShadow": true,
482
+ "receiveShadow": true,
483
+ "tags": [
484
+ "block"
485
+ ],
486
+ "body": {
487
+ "type": "dynamic",
488
+ "mass": 0.6,
489
+ "friction": 0.55,
490
+ "restitution": 0.05
491
+ }
492
+ },
493
+ {
494
+ "id": "block7",
495
+ "kind": "mesh",
496
+ "geometry": {
497
+ "type": "roundedBox",
498
+ "width": 1.5,
499
+ "height": 0.3,
500
+ "depth": 0.48,
501
+ "radius": 0.035,
502
+ "segments": 2
503
+ },
504
+ "position": [
505
+ 0,
506
+ 1.35,
507
+ 0
508
+ ],
509
+ "material": {
510
+ "type": "physical",
511
+ "color": "#e9c46a",
512
+ "roughness": 0.5,
513
+ "clearcoat": 0.5,
514
+ "clearcoatRoughness": 0.3,
515
+ "map": {
516
+ "procedural": "wood",
517
+ "rings": 3,
518
+ "colors": [
519
+ "#ffffff",
520
+ "#eadbc6"
521
+ ],
522
+ "resolution": 128
523
+ },
524
+ "bumpMap": {
525
+ "procedural": "wood",
526
+ "rings": 3,
527
+ "resolution": 128
528
+ },
529
+ "bumpScale": 0.06
530
+ },
531
+ "castShadow": true,
532
+ "receiveShadow": true,
533
+ "tags": [
534
+ "block"
535
+ ],
536
+ "body": {
537
+ "type": "dynamic",
538
+ "mass": 0.6,
539
+ "friction": 0.55,
540
+ "restitution": 0.05
541
+ }
542
+ },
543
+ {
544
+ "id": "block8",
545
+ "kind": "mesh",
546
+ "geometry": {
547
+ "type": "roundedBox",
548
+ "width": 1.5,
549
+ "height": 0.3,
550
+ "depth": 0.48,
551
+ "radius": 0.035,
552
+ "segments": 2
553
+ },
554
+ "position": [
555
+ 0,
556
+ 1.35,
557
+ 0.51
558
+ ],
559
+ "material": {
560
+ "type": "physical",
561
+ "color": "#e9c46a",
562
+ "roughness": 0.5,
563
+ "clearcoat": 0.5,
564
+ "clearcoatRoughness": 0.3,
565
+ "map": {
566
+ "procedural": "wood",
567
+ "rings": 3,
568
+ "colors": [
569
+ "#ffffff",
570
+ "#eadbc6"
571
+ ],
572
+ "resolution": 128
573
+ },
574
+ "bumpMap": {
575
+ "procedural": "wood",
576
+ "rings": 3,
577
+ "resolution": 128
578
+ },
579
+ "bumpScale": 0.06
580
+ },
581
+ "castShadow": true,
582
+ "receiveShadow": true,
583
+ "tags": [
584
+ "block"
585
+ ],
586
+ "body": {
587
+ "type": "dynamic",
588
+ "mass": 0.6,
589
+ "friction": 0.55,
590
+ "restitution": 0.05
591
+ }
592
+ },
593
+ {
594
+ "id": "block9",
595
+ "kind": "mesh",
596
+ "geometry": {
597
+ "type": "roundedBox",
598
+ "width": 1.5,
599
+ "height": 0.3,
600
+ "depth": 0.48,
601
+ "radius": 0.035,
602
+ "segments": 2
603
+ },
604
+ "position": [
605
+ -0.51,
606
+ 1.65,
607
+ 0
608
+ ],
609
+ "rotation": [
610
+ 0,
611
+ 90,
612
+ 0
613
+ ],
614
+ "material": {
615
+ "type": "physical",
616
+ "color": "#2a9d8f",
617
+ "roughness": 0.5,
618
+ "clearcoat": 0.5,
619
+ "clearcoatRoughness": 0.3,
620
+ "map": {
621
+ "procedural": "wood",
622
+ "rings": 3,
623
+ "colors": [
624
+ "#ffffff",
625
+ "#eadbc6"
626
+ ],
627
+ "resolution": 128
628
+ },
629
+ "bumpMap": {
630
+ "procedural": "wood",
631
+ "rings": 3,
632
+ "resolution": 128
633
+ },
634
+ "bumpScale": 0.06
635
+ },
636
+ "castShadow": true,
637
+ "receiveShadow": true,
638
+ "tags": [
639
+ "block"
640
+ ],
641
+ "body": {
642
+ "type": "dynamic",
643
+ "mass": 0.6,
644
+ "friction": 0.55,
645
+ "restitution": 0.05
646
+ }
647
+ },
648
+ {
649
+ "id": "block10",
650
+ "kind": "mesh",
651
+ "geometry": {
652
+ "type": "roundedBox",
653
+ "width": 1.5,
654
+ "height": 0.3,
655
+ "depth": 0.48,
656
+ "radius": 0.035,
657
+ "segments": 2
658
+ },
659
+ "position": [
660
+ 0,
661
+ 1.65,
662
+ 0
663
+ ],
664
+ "rotation": [
665
+ 0,
666
+ 90,
667
+ 0
668
+ ],
669
+ "material": {
670
+ "type": "physical",
671
+ "color": "#2a9d8f",
672
+ "roughness": 0.5,
673
+ "clearcoat": 0.5,
674
+ "clearcoatRoughness": 0.3,
675
+ "map": {
676
+ "procedural": "wood",
677
+ "rings": 3,
678
+ "colors": [
679
+ "#ffffff",
680
+ "#eadbc6"
681
+ ],
682
+ "resolution": 128
683
+ },
684
+ "bumpMap": {
685
+ "procedural": "wood",
686
+ "rings": 3,
687
+ "resolution": 128
688
+ },
689
+ "bumpScale": 0.06
690
+ },
691
+ "castShadow": true,
692
+ "receiveShadow": true,
693
+ "tags": [
694
+ "block"
695
+ ],
696
+ "body": {
697
+ "type": "dynamic",
698
+ "mass": 0.6,
699
+ "friction": 0.55,
700
+ "restitution": 0.05
701
+ }
702
+ },
703
+ {
704
+ "id": "block11",
705
+ "kind": "mesh",
706
+ "geometry": {
707
+ "type": "roundedBox",
708
+ "width": 1.5,
709
+ "height": 0.3,
710
+ "depth": 0.48,
711
+ "radius": 0.035,
712
+ "segments": 2
713
+ },
714
+ "position": [
715
+ 0.51,
716
+ 1.65,
717
+ 0
718
+ ],
719
+ "rotation": [
720
+ 0,
721
+ 90,
722
+ 0
723
+ ],
724
+ "material": {
725
+ "type": "physical",
726
+ "color": "#2a9d8f",
727
+ "roughness": 0.5,
728
+ "clearcoat": 0.5,
729
+ "clearcoatRoughness": 0.3,
730
+ "map": {
731
+ "procedural": "wood",
732
+ "rings": 3,
733
+ "colors": [
734
+ "#ffffff",
735
+ "#eadbc6"
736
+ ],
737
+ "resolution": 128
738
+ },
739
+ "bumpMap": {
740
+ "procedural": "wood",
741
+ "rings": 3,
742
+ "resolution": 128
743
+ },
744
+ "bumpScale": 0.06
745
+ },
746
+ "castShadow": true,
747
+ "receiveShadow": true,
748
+ "tags": [
749
+ "block"
750
+ ],
751
+ "body": {
752
+ "type": "dynamic",
753
+ "mass": 0.6,
754
+ "friction": 0.55,
755
+ "restitution": 0.05
756
+ }
757
+ },
758
+ {
759
+ "id": "block12",
760
+ "kind": "mesh",
761
+ "geometry": {
762
+ "type": "roundedBox",
763
+ "width": 1.5,
764
+ "height": 0.3,
765
+ "depth": 0.48,
766
+ "radius": 0.035,
767
+ "segments": 2
768
+ },
769
+ "position": [
770
+ 0,
771
+ 1.95,
772
+ -0.51
773
+ ],
774
+ "material": {
775
+ "type": "physical",
776
+ "color": "#3a86ff",
777
+ "roughness": 0.5,
778
+ "clearcoat": 0.5,
779
+ "clearcoatRoughness": 0.3,
780
+ "map": {
781
+ "procedural": "wood",
782
+ "rings": 3,
783
+ "colors": [
784
+ "#ffffff",
785
+ "#eadbc6"
786
+ ],
787
+ "resolution": 128
788
+ },
789
+ "bumpMap": {
790
+ "procedural": "wood",
791
+ "rings": 3,
792
+ "resolution": 128
793
+ },
794
+ "bumpScale": 0.06
795
+ },
796
+ "castShadow": true,
797
+ "receiveShadow": true,
798
+ "tags": [
799
+ "block"
800
+ ],
801
+ "body": {
802
+ "type": "dynamic",
803
+ "mass": 0.6,
804
+ "friction": 0.55,
805
+ "restitution": 0.05
806
+ }
807
+ },
808
+ {
809
+ "id": "block13",
810
+ "kind": "mesh",
811
+ "geometry": {
812
+ "type": "roundedBox",
813
+ "width": 1.5,
814
+ "height": 0.3,
815
+ "depth": 0.48,
816
+ "radius": 0.035,
817
+ "segments": 2
818
+ },
819
+ "position": [
820
+ 0,
821
+ 1.95,
822
+ 0
823
+ ],
824
+ "material": {
825
+ "type": "physical",
826
+ "color": "#3a86ff",
827
+ "roughness": 0.5,
828
+ "clearcoat": 0.5,
829
+ "clearcoatRoughness": 0.3,
830
+ "map": {
831
+ "procedural": "wood",
832
+ "rings": 3,
833
+ "colors": [
834
+ "#ffffff",
835
+ "#eadbc6"
836
+ ],
837
+ "resolution": 128
838
+ },
839
+ "bumpMap": {
840
+ "procedural": "wood",
841
+ "rings": 3,
842
+ "resolution": 128
843
+ },
844
+ "bumpScale": 0.06
845
+ },
846
+ "castShadow": true,
847
+ "receiveShadow": true,
848
+ "tags": [
849
+ "block"
850
+ ],
851
+ "body": {
852
+ "type": "dynamic",
853
+ "mass": 0.6,
854
+ "friction": 0.55,
855
+ "restitution": 0.05
856
+ }
857
+ },
858
+ {
859
+ "id": "block14",
860
+ "kind": "mesh",
861
+ "geometry": {
862
+ "type": "roundedBox",
863
+ "width": 1.5,
864
+ "height": 0.3,
865
+ "depth": 0.48,
866
+ "radius": 0.035,
867
+ "segments": 2
868
+ },
869
+ "position": [
870
+ 0,
871
+ 1.95,
872
+ 0.51
873
+ ],
874
+ "material": {
875
+ "type": "physical",
876
+ "color": "#3a86ff",
877
+ "roughness": 0.5,
878
+ "clearcoat": 0.5,
879
+ "clearcoatRoughness": 0.3,
880
+ "map": {
881
+ "procedural": "wood",
882
+ "rings": 3,
883
+ "colors": [
884
+ "#ffffff",
885
+ "#eadbc6"
886
+ ],
887
+ "resolution": 128
888
+ },
889
+ "bumpMap": {
890
+ "procedural": "wood",
891
+ "rings": 3,
892
+ "resolution": 128
893
+ },
894
+ "bumpScale": 0.06
895
+ },
896
+ "castShadow": true,
897
+ "receiveShadow": true,
898
+ "tags": [
899
+ "block"
900
+ ],
901
+ "body": {
902
+ "type": "dynamic",
903
+ "mass": 0.6,
904
+ "friction": 0.55,
905
+ "restitution": 0.05
906
+ }
907
+ },
908
+ {
909
+ "id": "block15",
910
+ "kind": "mesh",
911
+ "geometry": {
912
+ "type": "roundedBox",
913
+ "width": 1.5,
914
+ "height": 0.3,
915
+ "depth": 0.48,
916
+ "radius": 0.035,
917
+ "segments": 2
918
+ },
919
+ "position": [
920
+ -0.51,
921
+ 2.25,
922
+ 0
923
+ ],
924
+ "rotation": [
925
+ 0,
926
+ 90,
927
+ 0
928
+ ],
929
+ "material": {
930
+ "type": "physical",
931
+ "color": "#8e5cf7",
932
+ "roughness": 0.5,
933
+ "clearcoat": 0.5,
934
+ "clearcoatRoughness": 0.3,
935
+ "map": {
936
+ "procedural": "wood",
937
+ "rings": 3,
938
+ "colors": [
939
+ "#ffffff",
940
+ "#eadbc6"
941
+ ],
942
+ "resolution": 128
943
+ },
944
+ "bumpMap": {
945
+ "procedural": "wood",
946
+ "rings": 3,
947
+ "resolution": 128
948
+ },
949
+ "bumpScale": 0.06
950
+ },
951
+ "castShadow": true,
952
+ "receiveShadow": true,
953
+ "tags": [
954
+ "block"
955
+ ],
956
+ "body": {
957
+ "type": "dynamic",
958
+ "mass": 0.6,
959
+ "friction": 0.55,
960
+ "restitution": 0.05
961
+ }
962
+ },
963
+ {
964
+ "id": "block16",
965
+ "kind": "mesh",
966
+ "geometry": {
967
+ "type": "roundedBox",
968
+ "width": 1.5,
969
+ "height": 0.3,
970
+ "depth": 0.48,
971
+ "radius": 0.035,
972
+ "segments": 2
973
+ },
974
+ "position": [
975
+ 0,
976
+ 2.25,
977
+ 0
978
+ ],
979
+ "rotation": [
980
+ 0,
981
+ 90,
982
+ 0
983
+ ],
984
+ "material": {
985
+ "type": "physical",
986
+ "color": "#8e5cf7",
987
+ "roughness": 0.5,
988
+ "clearcoat": 0.5,
989
+ "clearcoatRoughness": 0.3,
990
+ "map": {
991
+ "procedural": "wood",
992
+ "rings": 3,
993
+ "colors": [
994
+ "#ffffff",
995
+ "#eadbc6"
996
+ ],
997
+ "resolution": 128
998
+ },
999
+ "bumpMap": {
1000
+ "procedural": "wood",
1001
+ "rings": 3,
1002
+ "resolution": 128
1003
+ },
1004
+ "bumpScale": 0.06
1005
+ },
1006
+ "castShadow": true,
1007
+ "receiveShadow": true,
1008
+ "tags": [
1009
+ "block"
1010
+ ],
1011
+ "body": {
1012
+ "type": "dynamic",
1013
+ "mass": 0.6,
1014
+ "friction": 0.55,
1015
+ "restitution": 0.05
1016
+ }
1017
+ },
1018
+ {
1019
+ "id": "block17",
1020
+ "kind": "mesh",
1021
+ "geometry": {
1022
+ "type": "roundedBox",
1023
+ "width": 1.5,
1024
+ "height": 0.3,
1025
+ "depth": 0.48,
1026
+ "radius": 0.035,
1027
+ "segments": 2
1028
+ },
1029
+ "position": [
1030
+ 0.51,
1031
+ 2.25,
1032
+ 0
1033
+ ],
1034
+ "rotation": [
1035
+ 0,
1036
+ 90,
1037
+ 0
1038
+ ],
1039
+ "material": {
1040
+ "type": "physical",
1041
+ "color": "#8e5cf7",
1042
+ "roughness": 0.5,
1043
+ "clearcoat": 0.5,
1044
+ "clearcoatRoughness": 0.3,
1045
+ "map": {
1046
+ "procedural": "wood",
1047
+ "rings": 3,
1048
+ "colors": [
1049
+ "#ffffff",
1050
+ "#eadbc6"
1051
+ ],
1052
+ "resolution": 128
1053
+ },
1054
+ "bumpMap": {
1055
+ "procedural": "wood",
1056
+ "rings": 3,
1057
+ "resolution": 128
1058
+ },
1059
+ "bumpScale": 0.06
1060
+ },
1061
+ "castShadow": true,
1062
+ "receiveShadow": true,
1063
+ "tags": [
1064
+ "block"
1065
+ ],
1066
+ "body": {
1067
+ "type": "dynamic",
1068
+ "mass": 0.6,
1069
+ "friction": 0.55,
1070
+ "restitution": 0.05
1071
+ }
1072
+ },
1073
+ {
1074
+ "id": "block18",
1075
+ "kind": "mesh",
1076
+ "geometry": {
1077
+ "type": "roundedBox",
1078
+ "width": 1.5,
1079
+ "height": 0.3,
1080
+ "depth": 0.48,
1081
+ "radius": 0.035,
1082
+ "segments": 2
1083
+ },
1084
+ "position": [
1085
+ 0,
1086
+ 2.55,
1087
+ -0.51
1088
+ ],
1089
+ "material": {
1090
+ "type": "physical",
1091
+ "color": "#e76f51",
1092
+ "roughness": 0.5,
1093
+ "clearcoat": 0.5,
1094
+ "clearcoatRoughness": 0.3,
1095
+ "map": {
1096
+ "procedural": "wood",
1097
+ "rings": 3,
1098
+ "colors": [
1099
+ "#ffffff",
1100
+ "#eadbc6"
1101
+ ],
1102
+ "resolution": 128
1103
+ },
1104
+ "bumpMap": {
1105
+ "procedural": "wood",
1106
+ "rings": 3,
1107
+ "resolution": 128
1108
+ },
1109
+ "bumpScale": 0.06
1110
+ },
1111
+ "castShadow": true,
1112
+ "receiveShadow": true,
1113
+ "tags": [
1114
+ "block"
1115
+ ],
1116
+ "body": {
1117
+ "type": "dynamic",
1118
+ "mass": 0.6,
1119
+ "friction": 0.55,
1120
+ "restitution": 0.05
1121
+ }
1122
+ },
1123
+ {
1124
+ "id": "block19",
1125
+ "kind": "mesh",
1126
+ "geometry": {
1127
+ "type": "roundedBox",
1128
+ "width": 1.5,
1129
+ "height": 0.3,
1130
+ "depth": 0.48,
1131
+ "radius": 0.035,
1132
+ "segments": 2
1133
+ },
1134
+ "position": [
1135
+ 0,
1136
+ 2.55,
1137
+ 0
1138
+ ],
1139
+ "material": {
1140
+ "type": "physical",
1141
+ "color": "#e76f51",
1142
+ "roughness": 0.5,
1143
+ "clearcoat": 0.5,
1144
+ "clearcoatRoughness": 0.3,
1145
+ "map": {
1146
+ "procedural": "wood",
1147
+ "rings": 3,
1148
+ "colors": [
1149
+ "#ffffff",
1150
+ "#eadbc6"
1151
+ ],
1152
+ "resolution": 128
1153
+ },
1154
+ "bumpMap": {
1155
+ "procedural": "wood",
1156
+ "rings": 3,
1157
+ "resolution": 128
1158
+ },
1159
+ "bumpScale": 0.06
1160
+ },
1161
+ "castShadow": true,
1162
+ "receiveShadow": true,
1163
+ "tags": [
1164
+ "block"
1165
+ ],
1166
+ "body": {
1167
+ "type": "dynamic",
1168
+ "mass": 0.6,
1169
+ "friction": 0.55,
1170
+ "restitution": 0.05
1171
+ }
1172
+ },
1173
+ {
1174
+ "id": "block20",
1175
+ "kind": "mesh",
1176
+ "geometry": {
1177
+ "type": "roundedBox",
1178
+ "width": 1.5,
1179
+ "height": 0.3,
1180
+ "depth": 0.48,
1181
+ "radius": 0.035,
1182
+ "segments": 2
1183
+ },
1184
+ "position": [
1185
+ 0,
1186
+ 2.55,
1187
+ 0.51
1188
+ ],
1189
+ "material": {
1190
+ "type": "physical",
1191
+ "color": "#e76f51",
1192
+ "roughness": 0.5,
1193
+ "clearcoat": 0.5,
1194
+ "clearcoatRoughness": 0.3,
1195
+ "map": {
1196
+ "procedural": "wood",
1197
+ "rings": 3,
1198
+ "colors": [
1199
+ "#ffffff",
1200
+ "#eadbc6"
1201
+ ],
1202
+ "resolution": 128
1203
+ },
1204
+ "bumpMap": {
1205
+ "procedural": "wood",
1206
+ "rings": 3,
1207
+ "resolution": 128
1208
+ },
1209
+ "bumpScale": 0.06
1210
+ },
1211
+ "castShadow": true,
1212
+ "receiveShadow": true,
1213
+ "tags": [
1214
+ "block"
1215
+ ],
1216
+ "body": {
1217
+ "type": "dynamic",
1218
+ "mass": 0.6,
1219
+ "friction": 0.55,
1220
+ "restitution": 0.05
1221
+ }
1222
+ },
1223
+ {
1224
+ "id": "block21",
1225
+ "kind": "mesh",
1226
+ "geometry": {
1227
+ "type": "roundedBox",
1228
+ "width": 1.5,
1229
+ "height": 0.3,
1230
+ "depth": 0.48,
1231
+ "radius": 0.035,
1232
+ "segments": 2
1233
+ },
1234
+ "position": [
1235
+ -0.51,
1236
+ 2.85,
1237
+ 0
1238
+ ],
1239
+ "rotation": [
1240
+ 0,
1241
+ 90,
1242
+ 0
1243
+ ],
1244
+ "material": {
1245
+ "type": "physical",
1246
+ "color": "#f4a261",
1247
+ "roughness": 0.5,
1248
+ "clearcoat": 0.5,
1249
+ "clearcoatRoughness": 0.3,
1250
+ "map": {
1251
+ "procedural": "wood",
1252
+ "rings": 3,
1253
+ "colors": [
1254
+ "#ffffff",
1255
+ "#eadbc6"
1256
+ ],
1257
+ "resolution": 128
1258
+ },
1259
+ "bumpMap": {
1260
+ "procedural": "wood",
1261
+ "rings": 3,
1262
+ "resolution": 128
1263
+ },
1264
+ "bumpScale": 0.06
1265
+ },
1266
+ "castShadow": true,
1267
+ "receiveShadow": true,
1268
+ "tags": [
1269
+ "block"
1270
+ ],
1271
+ "body": {
1272
+ "type": "dynamic",
1273
+ "mass": 0.6,
1274
+ "friction": 0.55,
1275
+ "restitution": 0.05
1276
+ }
1277
+ },
1278
+ {
1279
+ "id": "block22",
1280
+ "kind": "mesh",
1281
+ "geometry": {
1282
+ "type": "roundedBox",
1283
+ "width": 1.5,
1284
+ "height": 0.3,
1285
+ "depth": 0.48,
1286
+ "radius": 0.035,
1287
+ "segments": 2
1288
+ },
1289
+ "position": [
1290
+ 0,
1291
+ 2.85,
1292
+ 0
1293
+ ],
1294
+ "rotation": [
1295
+ 0,
1296
+ 90,
1297
+ 0
1298
+ ],
1299
+ "material": {
1300
+ "type": "physical",
1301
+ "color": "#f4a261",
1302
+ "roughness": 0.5,
1303
+ "clearcoat": 0.5,
1304
+ "clearcoatRoughness": 0.3,
1305
+ "map": {
1306
+ "procedural": "wood",
1307
+ "rings": 3,
1308
+ "colors": [
1309
+ "#ffffff",
1310
+ "#eadbc6"
1311
+ ],
1312
+ "resolution": 128
1313
+ },
1314
+ "bumpMap": {
1315
+ "procedural": "wood",
1316
+ "rings": 3,
1317
+ "resolution": 128
1318
+ },
1319
+ "bumpScale": 0.06
1320
+ },
1321
+ "castShadow": true,
1322
+ "receiveShadow": true,
1323
+ "tags": [
1324
+ "block"
1325
+ ],
1326
+ "body": {
1327
+ "type": "dynamic",
1328
+ "mass": 0.6,
1329
+ "friction": 0.55,
1330
+ "restitution": 0.05
1331
+ }
1332
+ },
1333
+ {
1334
+ "id": "block23",
1335
+ "kind": "mesh",
1336
+ "geometry": {
1337
+ "type": "roundedBox",
1338
+ "width": 1.5,
1339
+ "height": 0.3,
1340
+ "depth": 0.48,
1341
+ "radius": 0.035,
1342
+ "segments": 2
1343
+ },
1344
+ "position": [
1345
+ 0.51,
1346
+ 2.85,
1347
+ 0
1348
+ ],
1349
+ "rotation": [
1350
+ 0,
1351
+ 90,
1352
+ 0
1353
+ ],
1354
+ "material": {
1355
+ "type": "physical",
1356
+ "color": "#f4a261",
1357
+ "roughness": 0.5,
1358
+ "clearcoat": 0.5,
1359
+ "clearcoatRoughness": 0.3,
1360
+ "map": {
1361
+ "procedural": "wood",
1362
+ "rings": 3,
1363
+ "colors": [
1364
+ "#ffffff",
1365
+ "#eadbc6"
1366
+ ],
1367
+ "resolution": 128
1368
+ },
1369
+ "bumpMap": {
1370
+ "procedural": "wood",
1371
+ "rings": 3,
1372
+ "resolution": 128
1373
+ },
1374
+ "bumpScale": 0.06
1375
+ },
1376
+ "castShadow": true,
1377
+ "receiveShadow": true,
1378
+ "tags": [
1379
+ "block"
1380
+ ],
1381
+ "body": {
1382
+ "type": "dynamic",
1383
+ "mass": 0.6,
1384
+ "friction": 0.55,
1385
+ "restitution": 0.05
1386
+ }
1387
+ },
1388
+ {
1389
+ "id": "block24",
1390
+ "kind": "mesh",
1391
+ "geometry": {
1392
+ "type": "roundedBox",
1393
+ "width": 1.5,
1394
+ "height": 0.3,
1395
+ "depth": 0.48,
1396
+ "radius": 0.035,
1397
+ "segments": 2
1398
+ },
1399
+ "position": [
1400
+ 0,
1401
+ 3.15,
1402
+ -0.51
1403
+ ],
1404
+ "material": {
1405
+ "type": "physical",
1406
+ "color": "#e9c46a",
1407
+ "roughness": 0.5,
1408
+ "clearcoat": 0.5,
1409
+ "clearcoatRoughness": 0.3,
1410
+ "map": {
1411
+ "procedural": "wood",
1412
+ "rings": 3,
1413
+ "colors": [
1414
+ "#ffffff",
1415
+ "#eadbc6"
1416
+ ],
1417
+ "resolution": 128
1418
+ },
1419
+ "bumpMap": {
1420
+ "procedural": "wood",
1421
+ "rings": 3,
1422
+ "resolution": 128
1423
+ },
1424
+ "bumpScale": 0.06
1425
+ },
1426
+ "castShadow": true,
1427
+ "receiveShadow": true,
1428
+ "tags": [
1429
+ "block"
1430
+ ],
1431
+ "body": {
1432
+ "type": "dynamic",
1433
+ "mass": 0.6,
1434
+ "friction": 0.55,
1435
+ "restitution": 0.05
1436
+ }
1437
+ },
1438
+ {
1439
+ "id": "block25",
1440
+ "kind": "mesh",
1441
+ "geometry": {
1442
+ "type": "roundedBox",
1443
+ "width": 1.5,
1444
+ "height": 0.3,
1445
+ "depth": 0.48,
1446
+ "radius": 0.035,
1447
+ "segments": 2
1448
+ },
1449
+ "position": [
1450
+ 0,
1451
+ 3.15,
1452
+ 0
1453
+ ],
1454
+ "material": {
1455
+ "type": "physical",
1456
+ "color": "#e9c46a",
1457
+ "roughness": 0.5,
1458
+ "clearcoat": 0.5,
1459
+ "clearcoatRoughness": 0.3,
1460
+ "map": {
1461
+ "procedural": "wood",
1462
+ "rings": 3,
1463
+ "colors": [
1464
+ "#ffffff",
1465
+ "#eadbc6"
1466
+ ],
1467
+ "resolution": 128
1468
+ },
1469
+ "bumpMap": {
1470
+ "procedural": "wood",
1471
+ "rings": 3,
1472
+ "resolution": 128
1473
+ },
1474
+ "bumpScale": 0.06
1475
+ },
1476
+ "castShadow": true,
1477
+ "receiveShadow": true,
1478
+ "tags": [
1479
+ "block"
1480
+ ],
1481
+ "body": {
1482
+ "type": "dynamic",
1483
+ "mass": 0.6,
1484
+ "friction": 0.55,
1485
+ "restitution": 0.05
1486
+ }
1487
+ },
1488
+ {
1489
+ "id": "block26",
1490
+ "kind": "mesh",
1491
+ "geometry": {
1492
+ "type": "roundedBox",
1493
+ "width": 1.5,
1494
+ "height": 0.3,
1495
+ "depth": 0.48,
1496
+ "radius": 0.035,
1497
+ "segments": 2
1498
+ },
1499
+ "position": [
1500
+ 0,
1501
+ 3.15,
1502
+ 0.51
1503
+ ],
1504
+ "material": {
1505
+ "type": "physical",
1506
+ "color": "#e9c46a",
1507
+ "roughness": 0.5,
1508
+ "clearcoat": 0.5,
1509
+ "clearcoatRoughness": 0.3,
1510
+ "map": {
1511
+ "procedural": "wood",
1512
+ "rings": 3,
1513
+ "colors": [
1514
+ "#ffffff",
1515
+ "#eadbc6"
1516
+ ],
1517
+ "resolution": 128
1518
+ },
1519
+ "bumpMap": {
1520
+ "procedural": "wood",
1521
+ "rings": 3,
1522
+ "resolution": 128
1523
+ },
1524
+ "bumpScale": 0.06
1525
+ },
1526
+ "castShadow": true,
1527
+ "receiveShadow": true,
1528
+ "tags": [
1529
+ "block"
1530
+ ],
1531
+ "body": {
1532
+ "type": "dynamic",
1533
+ "mass": 0.6,
1534
+ "friction": 0.55,
1535
+ "restitution": 0.05
1536
+ }
1537
+ },
1538
+ {
1539
+ "id": "shelf",
1540
+ "kind": "mesh",
1541
+ "geometry": {
1542
+ "type": "box",
1543
+ "width": 2,
1544
+ "height": 0.2,
1545
+ "depth": 2
1546
+ },
1547
+ "position": [
1548
+ 0,
1549
+ -30.1,
1550
+ 0
1551
+ ],
1552
+ "visible": false,
1553
+ "body": {
1554
+ "type": "static"
1555
+ }
1556
+ },
1557
+ {
1558
+ "id": "ballProto",
1559
+ "kind": "mesh",
1560
+ "geometry": {
1561
+ "type": "sphere",
1562
+ "radius": 0.3,
1563
+ "segments": 32,
1564
+ "heightSegments": 20
1565
+ },
1566
+ "position": [
1567
+ 0,
1568
+ -29.7,
1569
+ 0
1570
+ ],
1571
+ "visible": false,
1572
+ "material": {
1573
+ "preset": "plastic",
1574
+ "color": "#ef476f",
1575
+ "roughness": 0.25
1576
+ },
1577
+ "castShadow": true,
1578
+ "tags": [
1579
+ "ball"
1580
+ ],
1581
+ "body": {
1582
+ "type": "dynamic",
1583
+ "shape": "sphere",
1584
+ "mass": 3,
1585
+ "friction": 0.5,
1586
+ "restitution": 0.3,
1587
+ "ccd": true
1588
+ }
1589
+ }
1590
+ ],
1591
+ "physics": {
1592
+ "gravity": [
1593
+ 0,
1594
+ -9.81,
1595
+ 0
1596
+ ],
1597
+ "substeps": 2,
1598
+ "iterations": 12
1599
+ },
1600
+ "scripts": [
1601
+ "scripts/playground.js"
1602
+ ],
1603
+ "data": {
1604
+ "playground": {
1605
+ "throwSpeed": 19,
1606
+ "autoEvery": 1.3,
1607
+ "maxBalls": 10
1608
+ }
1609
+ },
1610
+ "ui": {
1611
+ "color": "#4a2330",
1612
+ "accent": "#ef476f",
1613
+ "elements": [
1614
+ {
1615
+ "id": "title",
1616
+ "type": "text",
1617
+ "text": "Tower Smash",
1618
+ "anchor": "top",
1619
+ "style": "title",
1620
+ "visible": "phase == 'attract'"
1621
+ },
1622
+ {
1623
+ "id": "hint",
1624
+ "type": "text",
1625
+ "text": "Click or tap to throw \u2014 knock the whole tower off",
1626
+ "anchor": "bottom",
1627
+ "style": "subtitle",
1628
+ "visible": "phase == 'attract'"
1629
+ },
1630
+ {
1631
+ "id": "downHud",
1632
+ "type": "text",
1633
+ "text": "Down {down}/{total}",
1634
+ "anchor": "top-left",
1635
+ "style": "pill",
1636
+ "visible": "phase != 'attract'"
1637
+ },
1638
+ {
1639
+ "id": "throwsHud",
1640
+ "type": "text",
1641
+ "text": "Throws {throws}",
1642
+ "anchor": "top",
1643
+ "style": "pill",
1644
+ "visible": "phase != 'attract'"
1645
+ },
1646
+ {
1647
+ "id": "bestHud",
1648
+ "type": "text",
1649
+ "text": "Best {best}",
1650
+ "anchor": "top-right",
1651
+ "style": "pill"
1652
+ },
1653
+ {
1654
+ "id": "cleared",
1655
+ "type": "text",
1656
+ "text": "Cleared in {throws} throws!",
1657
+ "anchor": "center",
1658
+ "style": "title",
1659
+ "visible": "phase == 'cleared'"
1660
+ },
1661
+ {
1662
+ "id": "rebuild",
1663
+ "type": "button",
1664
+ "text": "Rebuild",
1665
+ "anchor": "bottom",
1666
+ "action": "rebuild",
1667
+ "visible": "phase != 'attract'"
1668
+ }
1669
+ ]
1670
+ },
1671
+ "audio": {
1672
+ "sounds": {
1673
+ "throw": {
1674
+ "preset": "whoosh",
1675
+ "volume": 0.35
1676
+ },
1677
+ "hit": {
1678
+ "preset": "hit",
1679
+ "volume": 0.3
1680
+ },
1681
+ "win": {
1682
+ "preset": "win",
1683
+ "volume": 0.6
1684
+ },
1685
+ "click": {
1686
+ "preset": "click",
1687
+ "volume": 0.4
1688
+ }
1689
+ }
1690
+ },
1691
+ "postfx": [
1692
+ {
1693
+ "type": "bloom",
1694
+ "strength": 0.2,
1695
+ "threshold": 1.6,
1696
+ "radius": 0.5
1697
+ },
1698
+ {
1699
+ "type": "grading",
1700
+ "contrast": 1.05,
1701
+ "saturation": 1.05,
1702
+ "vibrance": 0.1
1703
+ },
1704
+ {
1705
+ "type": "vignette",
1706
+ "darkness": 0.55
1707
+ },
1708
+ {
1709
+ "type": "fxaa"
1710
+ }
1711
+ ]
1712
+ }