@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.
- package/LICENSE +143 -0
- package/README.md +396 -2
- package/changelog.json +68 -0
- package/dist/agent/agent3d.mjs +11242 -0
- package/dist/agent/chunks/assets-BUUM9TUB.mjs +2448 -0
- package/dist/agent/chunks/browser-t_JL_B82.mjs +226 -0
- package/dist/agent/chunks/cdp-Bdtm4fBN.mjs +178 -0
- package/dist/agent/chunks/check-CBO3Ekx1.mjs +971 -0
- package/dist/agent/chunks/export-BCI8vKw8.mjs +1130 -0
- package/dist/agent/chunks/gif-DQznzHTL.mjs +319 -0
- package/dist/agent/chunks/gltf-f_f0-OiV.mjs +207 -0
- package/dist/agent/chunks/imageCodec-Dz9PFxi9.mjs +101 -0
- package/dist/agent/chunks/jsonPath-DUCe1JpS.mjs +155 -0
- package/dist/agent/chunks/meshoptimizer-C-tN9jn5.mjs +1165 -0
- package/dist/agent/chunks/mp4-aOALfp3s.mjs +130 -0
- package/dist/agent/chunks/objects-DBAws7uf.mjs +53 -0
- package/dist/agent/chunks/optimizeSizing-CkZ3fZRp.mjs +540 -0
- package/dist/agent/chunks/package-BOIyp_2B.mjs +75 -0
- package/dist/agent/chunks/png-DXfSGJZt.mjs +91 -0
- package/dist/agent/chunks/render-CN4mgGLQ.mjs +1511 -0
- package/dist/agent/chunks/rolldown-runtime-ebOQtxsr.mjs +18 -0
- package/dist/agent/chunks/scene-BgajNvBf.mjs +444 -0
- package/dist/agent/chunks/server-CACCerkZ.mjs +237 -0
- package/dist/agent/chunks/suggest-Cpcgv1RP.mjs +46 -0
- package/dist/agent/chunks/tools-DT2tetIK.mjs +1412 -0
- package/dist/agent/chunks/tree-BrNYGui2.mjs +75 -0
- package/dist/agent/chunks/webpAnim-qaq9YgKl.mjs +132 -0
- package/dist/runtime/agent3d-runtime.js +373 -0
- package/dist/runtime/agent3d-runtime.single.js +7360 -0
- package/dist/runtime/chunks/BufferGeometryUtils-XmME4f7Z.js +1 -0
- package/dist/runtime/chunks/EXRLoader-CBdIpBMT.js +1 -0
- package/dist/runtime/chunks/FontLoader-dVu9WH2X.js +2 -0
- package/dist/runtime/chunks/GLTFLoader-Z9Inv-Xm.js +1 -0
- package/dist/runtime/chunks/GroundedSkybox-g1ASZWNu.js +1 -0
- package/dist/runtime/chunks/HDRLoader-DBOMWa7O.js +5 -0
- package/dist/runtime/chunks/OrbitControls-BIpWXK4x.js +1 -0
- package/dist/runtime/chunks/RectAreaLightUniformsLib-4ZzgX9vp.js +1 -0
- package/dist/runtime/chunks/RoomEnvironment-CXgfLJdO.js +1 -0
- package/dist/runtime/chunks/RoundedBoxGeometry-BViRogcJ.js +1 -0
- package/dist/runtime/chunks/SVGLoader-CV0U1EIF.js +1 -0
- package/dist/runtime/chunks/SkeletonUtils-DHlReJx3.js +1 -0
- package/dist/runtime/chunks/Sky-DGJXlPb_.js +243 -0
- package/dist/runtime/chunks/audio-DbVNbf-r.js +1 -0
- package/dist/runtime/chunks/catalog-DL6sgPay.js +1 -0
- package/dist/runtime/chunks/easing-CXSz2e6P.js +1 -0
- package/dist/runtime/chunks/extrude-D6WnITQq.js +1 -0
- package/dist/runtime/chunks/game-BoEiyZrL.js +20 -0
- package/dist/runtime/chunks/generators-D5JUo0jp.js +331 -0
- package/dist/runtime/chunks/materials-Dn-bYrZd.js +107 -0
- package/dist/runtime/chunks/meshGradient.glsl-BMatplLA.js +88 -0
- package/dist/runtime/chunks/meshopt_decoder.module-DXTYc6wn.js +1 -0
- package/dist/runtime/chunks/model-BCVF3QzB.js +1 -0
- package/dist/runtime/chunks/params-C2uoUDJ0.js +1 -0
- package/dist/runtime/chunks/physicsHost-ChPgysMQ.js +1 -0
- package/dist/runtime/chunks/postfx-UgKCbmZs.js +1527 -0
- package/dist/runtime/chunks/postfx-i_J5Vf-l.js +1 -0
- package/dist/runtime/chunks/random-eeej60NW.js +1 -0
- package/dist/runtime/chunks/shaders-Dw6zHdu_.js +443 -0
- package/dist/runtime/chunks/svg-CmlFY_8O.js +1 -0
- package/dist/runtime/chunks/text-D1EQpdSU.js +2 -0
- package/dist/runtime/chunks/three.module-DnaBiDAJ.js +4225 -0
- package/dist/runtime/chunks/toon-BsvVk_nK.js +6 -0
- package/dist/runtime/chunks/util-CyaW1fcW.js +1 -0
- package/dist/studio/assets/BufferGeometryUtils-CAlXAboW.js +1 -0
- package/dist/studio/assets/EXRLoader-BKkzlNd8.js +1 -0
- package/dist/studio/assets/FontLoader-Bzjx8mXt.js +2 -0
- package/dist/studio/assets/GLTFLoader-1Zd9N406.js +1 -0
- package/dist/studio/assets/GroundedSkybox-BEMqNCBD.js +1 -0
- package/dist/studio/assets/HDRLoader-DxB0kxPH.js +5 -0
- package/dist/studio/assets/OrbitControls-MlE9XiCg.js +1 -0
- package/dist/studio/assets/RectAreaLightUniformsLib-ClHrtYY6.js +1 -0
- package/dist/studio/assets/RoomEnvironment-MJ-jIEC8.js +1 -0
- package/dist/studio/assets/SVGLoader-CIYl0nEy.js +1 -0
- package/dist/studio/assets/SkeletonUtils-CG5akqME.js +1 -0
- package/dist/studio/assets/Sky-DNMfpp92.js +243 -0
- package/dist/studio/assets/audio-JD1kyX0A.js +1 -0
- package/dist/studio/assets/camera-7sEn13L-.js +2 -0
- package/dist/studio/assets/editor-CnbvVkhU.js +53 -0
- package/dist/studio/assets/extrude-9bG8hr2C.js +1 -0
- package/dist/studio/assets/game-B04KGAK0.js +19 -0
- package/dist/studio/assets/generators-LSni1Yfc.js +331 -0
- package/dist/studio/assets/index-3LL5NEIH.js +479 -0
- package/dist/studio/assets/index-BQT0otii.css +1 -0
- package/dist/studio/assets/meshopt_decoder.module-DXTYc6wn.js +1 -0
- package/dist/studio/assets/meshoptimizer-BCSwHBL3.js +1 -0
- package/dist/studio/assets/model-CNddhwmA.js +2 -0
- package/dist/studio/assets/physicsHost-hMU_SDiX.js +1 -0
- package/dist/studio/assets/postfx-BcCZS0Bq.js +1527 -0
- package/dist/studio/assets/runtime-DY_KqD1x.js +572 -0
- package/dist/studio/assets/shaders-BhMCstyv.js +443 -0
- package/dist/studio/assets/svg-CNKK-h7H.js +2 -0
- package/dist/studio/assets/text-BSPI7dk1.js +3 -0
- package/dist/studio/assets/three.module-CnI50X0U.js +4225 -0
- package/dist/studio/index.html +16 -0
- package/library/LICENSES.md +77 -0
- package/library/fonts/LICENSES.md +42 -0
- package/library/fonts/anton.typeface.json +1 -0
- package/library/fonts/bebas-neue.typeface.json +1 -0
- package/library/fonts/display.typeface.json +1 -0
- package/library/fonts/inter-black.typeface.json +1 -0
- package/library/fonts/lobster.typeface.json +1 -0
- package/library/fonts/mono.typeface.json +1 -0
- package/library/fonts/montserrat-extrabold.typeface.json +1 -0
- package/library/fonts/pacifico.typeface.json +1 -0
- package/library/fonts/sans-bold.typeface.json +1 -0
- package/library/fonts/sans.typeface.json +1 -0
- package/library/fonts/serif-bold.typeface.json +1 -0
- package/library/fonts/serif.typeface.json +1 -0
- package/library/fonts/space-grotesk-bold.typeface.json +1 -0
- package/library/hdri/beach.hdr +0 -0
- package/library/hdri/beach.jpg +0 -0
- package/library/hdri/city.hdr +0 -0
- package/library/hdri/city.jpg +0 -0
- package/library/hdri/forest.hdr +0 -0
- package/library/hdri/forest.jpg +0 -0
- package/library/hdri/night-city.hdr +0 -0
- package/library/hdri/night-city.jpg +0 -0
- package/library/hdri/night.hdr +0 -0
- package/library/hdri/night.jpg +0 -0
- package/library/hdri/sky.hdr +0 -0
- package/library/hdri/sky.jpg +0 -0
- package/library/hdri/softbox.hdr +0 -0
- package/library/hdri/softbox.jpg +0 -0
- package/library/hdri/studio.hdr +0 -0
- package/library/hdri/studio.jpg +0 -0
- package/library/hdri/sunset.hdr +0 -0
- package/library/hdri/sunset.jpg +0 -0
- package/library/hdri/warehouse.hdr +0 -0
- package/library/hdri/warehouse.jpg +0 -0
- package/library/index.json +5510 -0
- package/library/models/animals/fish.glb +0 -0
- package/library/models/animals/fox.glb +0 -0
- package/library/models/buildings/castle.glb +0 -0
- package/library/models/buildings/house.glb +0 -0
- package/library/models/buildings/market.glb +0 -0
- package/library/models/buildings/tavern.glb +0 -0
- package/library/models/buildings/tower.glb +0 -0
- package/library/models/buildings/windmill.glb +0 -0
- package/library/models/characters/barbarian.glb +0 -0
- package/library/models/characters/knight.glb +0 -0
- package/library/models/characters/mage.glb +0 -0
- package/library/models/characters/mini-soldier.glb +0 -0
- package/library/models/characters/platformer-hero.glb +0 -0
- package/library/models/characters/robot.glb +0 -0
- package/library/models/characters/rogue.glb +0 -0
- package/library/models/characters/skeleton.glb +0 -0
- package/library/models/city/building-a.glb +0 -0
- package/library/models/city/building-b.glb +0 -0
- package/library/models/city/building-tall.glb +0 -0
- package/library/models/city/fire-hydrant.glb +0 -0
- package/library/models/city/road-corner.glb +0 -0
- package/library/models/city/road-crossing.glb +0 -0
- package/library/models/city/road-junction.glb +0 -0
- package/library/models/city/road-straight.glb +0 -0
- package/library/models/city/streetlight.glb +0 -0
- package/library/models/city/suburban-house.glb +0 -0
- package/library/models/city/traffic-light.glb +0 -0
- package/library/models/city/water-tower.glb +0 -0
- package/library/models/food/apple.glb +0 -0
- package/library/models/food/avocado.glb +0 -0
- package/library/models/food/baguette.glb +0 -0
- package/library/models/food/bread-loaf.glb +0 -0
- package/library/models/food/burger.glb +0 -0
- package/library/models/food/carrot.glb +0 -0
- package/library/models/food/cheese.glb +0 -0
- package/library/models/food/cookie.glb +0 -0
- package/library/models/food/croissant.glb +0 -0
- package/library/models/food/cupcake.glb +0 -0
- package/library/models/food/dinner-plate.glb +0 -0
- package/library/models/food/donut.glb +0 -0
- package/library/models/food/ketchup.glb +0 -0
- package/library/models/food/mug.glb +0 -0
- package/library/models/food/pain-au-chocolat.glb +0 -0
- package/library/models/food/stew.glb +0 -0
- package/library/models/food/tomato.glb +0 -0
- package/library/models/food/veggie-burger.glb +0 -0
- package/library/models/nature/bush.glb +0 -0
- package/library/models/nature/cactus.glb +0 -0
- package/library/models/nature/cloud.glb +0 -0
- package/library/models/nature/fir-tree.glb +0 -0
- package/library/models/nature/forest-patch.glb +0 -0
- package/library/models/nature/grass-small.glb +0 -0
- package/library/models/nature/grass.glb +0 -0
- package/library/models/nature/hex-grass.glb +0 -0
- package/library/models/nature/hex-water.glb +0 -0
- package/library/models/nature/hills.glb +0 -0
- package/library/models/nature/mountain.glb +0 -0
- package/library/models/nature/pine-autumn.glb +0 -0
- package/library/models/nature/pine-tree.glb +0 -0
- package/library/models/nature/pumpkin.glb +0 -0
- package/library/models/nature/rock-flat.glb +0 -0
- package/library/models/nature/rock.glb +0 -0
- package/library/models/nature/tree-dead.glb +0 -0
- package/library/models/nature/tree-slim.glb +0 -0
- package/library/models/nature/trees-cluster.glb +0 -0
- package/library/models/nature/waterlily.glb +0 -0
- package/library/models/platformer/blaster.glb +0 -0
- package/library/models/platformer/block-coin.glb +0 -0
- package/library/models/platformer/brick.glb +0 -0
- package/library/models/platformer/coin.glb +0 -0
- package/library/models/platformer/enemy-flying.glb +0 -0
- package/library/models/platformer/flag.glb +0 -0
- package/library/models/platformer/platform-falling.glb +0 -0
- package/library/models/platformer/platform-grass-round.glb +0 -0
- package/library/models/platformer/platform-large.glb +0 -0
- package/library/models/platformer/platform-medium.glb +0 -0
- package/library/models/platformer/platform.glb +0 -0
- package/library/models/platformer/target.glb +0 -0
- package/library/models/platformer/track-corner.glb +0 -0
- package/library/models/platformer/track-straight.glb +0 -0
- package/library/models/platformer/wall-low.glb +0 -0
- package/library/models/products/boombox.glb +0 -0
- package/library/models/products/iridescent-lamp.glb +0 -0
- package/library/models/products/lantern.glb +0 -0
- package/library/models/products/lounge-chair.glb +0 -0
- package/library/models/products/sneaker.glb +0 -0
- package/library/models/products/velvet-sofa.glb +0 -0
- package/library/models/products/water-bottle.glb +0 -0
- package/library/models/props/alarm-clock.glb +0 -0
- package/library/models/props/armchair.glb +0 -0
- package/library/models/props/barrel.glb +0 -0
- package/library/models/props/bench.glb +0 -0
- package/library/models/props/brass-vase.glb +0 -0
- package/library/models/props/chest.glb +0 -0
- package/library/models/props/coffee-table.glb +0 -0
- package/library/models/props/coin-stack.glb +0 -0
- package/library/models/props/coin.glb +0 -0
- package/library/models/props/couch.glb +0 -0
- package/library/models/props/crate.glb +0 -0
- package/library/models/props/flag.glb +0 -0
- package/library/models/props/gravestone.glb +0 -0
- package/library/models/props/key.glb +0 -0
- package/library/models/props/lamp.glb +0 -0
- package/library/models/props/lantern.glb +0 -0
- package/library/models/props/marble-bust.glb +0 -0
- package/library/models/props/modern-armchair.glb +0 -0
- package/library/models/props/potted-succulent.glb +0 -0
- package/library/models/props/rubber-duck.glb +0 -0
- package/library/models/props/shield.glb +0 -0
- package/library/models/props/sword-shield.glb +0 -0
- package/library/models/props/sword.glb +0 -0
- package/library/models/props/table.glb +0 -0
- package/library/models/props/tent.glb +0 -0
- package/library/models/props/torch.glb +0 -0
- package/library/models/props/trophy.glb +0 -0
- package/library/models/space/base-module.glb +0 -0
- package/library/models/space/lander.glb +0 -0
- package/library/models/space/landing-pad.glb +0 -0
- package/library/models/space/rocks.glb +0 -0
- package/library/models/space/solar-panel.glb +0 -0
- package/library/models/space/space-truck.glb +0 -0
- package/library/models/space/wind-turbine.glb +0 -0
- package/library/models/vehicles/car.glb +0 -0
- package/library/models/vehicles/hatchback.glb +0 -0
- package/library/models/vehicles/motorcycle.glb +0 -0
- package/library/models/vehicles/police-car.glb +0 -0
- package/library/models/vehicles/taxi.glb +0 -0
- package/library/models/vehicles/truck.glb +0 -0
- package/library/sources.json +2856 -0
- package/library/textures/brick-color.jpg +0 -0
- package/library/textures/brick-normal.jpg +0 -0
- package/library/textures/brick-roughness.jpg +0 -0
- package/library/textures/concrete-color.jpg +0 -0
- package/library/textures/concrete-normal.jpg +0 -0
- package/library/textures/concrete-roughness.jpg +0 -0
- package/library/textures/fabric-color.jpg +0 -0
- package/library/textures/fabric-normal.jpg +0 -0
- package/library/textures/fabric-roughness.jpg +0 -0
- package/library/textures/grass-ground-color.jpg +0 -0
- package/library/textures/grass-ground-normal.jpg +0 -0
- package/library/textures/grass-ground-roughness.jpg +0 -0
- package/library/textures/rusty-metal-color.jpg +0 -0
- package/library/textures/rusty-metal-normal.jpg +0 -0
- package/library/textures/rusty-metal-roughness.jpg +0 -0
- package/library/textures/wood-planks-color.jpg +0 -0
- package/library/textures/wood-planks-normal.jpg +0 -0
- package/library/textures/wood-planks-roughness.jpg +0 -0
- package/package.json +67 -4
- package/plugin/.claude-plugin/plugin.json +19 -0
- package/plugin/skills/agent3d-assets/SKILL.md +140 -0
- package/plugin/skills/agent3d-assets/references/sources.md +33 -0
- package/plugin/skills/agent3d-create/SKILL.md +141 -0
- package/plugin/skills/agent3d-create/references/art-direction.md +144 -0
- package/plugin/skills/agent3d-create/references/recipes.md +1357 -0
- package/plugin/skills/agent3d-edit/SKILL.md +121 -0
- package/plugin/skills/agent3d-edit/references/patch-ops.md +278 -0
- package/plugin/skills/agent3d-game/SKILL.md +111 -0
- package/plugin/skills/agent3d-game/references/game-patterns.md +262 -0
- package/plugin/skills/agent3d-game/references/script-api.md +211 -0
- package/plugin/skills/agent3d-publish/SKILL.md +161 -0
- package/plugin/skills/agent3d-publish/references/integrations.md +221 -0
- package/templates/banner-aurora-night/README.md +15 -0
- package/templates/banner-aurora-night/agent3d.json +8 -0
- package/templates/banner-aurora-night/preview.png +0 -0
- package/templates/banner-aurora-night/scene.json +327 -0
- package/templates/banner-aurora-night/template.json +24 -0
- package/templates/banner-data-bars/README.md +15 -0
- package/templates/banner-data-bars/agent3d.json +8 -0
- package/templates/banner-data-bars/preview.png +0 -0
- package/templates/banner-data-bars/scene.json +222 -0
- package/templates/banner-data-bars/template.json +25 -0
- package/templates/banner-floating-shapes/README.md +15 -0
- package/templates/banner-floating-shapes/agent3d.json +8 -0
- package/templates/banner-floating-shapes/preview.png +0 -0
- package/templates/banner-floating-shapes/scene.json +703 -0
- package/templates/banner-floating-shapes/template.json +24 -0
- package/templates/banner-gradient-blob/README.md +16 -0
- package/templates/banner-gradient-blob/agent3d.json +8 -0
- package/templates/banner-gradient-blob/preview.png +0 -0
- package/templates/banner-gradient-blob/scene.json +330 -0
- package/templates/banner-gradient-blob/template.json +21 -0
- package/templates/banner-liquid-chrome/README.md +16 -0
- package/templates/banner-liquid-chrome/agent3d.json +8 -0
- package/templates/banner-liquid-chrome/preview.png +0 -0
- package/templates/banner-liquid-chrome/scene.json +290 -0
- package/templates/banner-liquid-chrome/template.json +24 -0
- package/templates/banner-logo-extrude/README.md +24 -0
- package/templates/banner-logo-extrude/agent3d.json +8 -0
- package/templates/banner-logo-extrude/assets/logo.svg +6 -0
- package/templates/banner-logo-extrude/assets/manifest.json +13 -0
- package/templates/banner-logo-extrude/preview.png +0 -0
- package/templates/banner-logo-extrude/scene.json +332 -0
- package/templates/banner-logo-extrude/template.json +22 -0
- package/templates/banner-neon-title/README.md +18 -0
- package/templates/banner-neon-title/agent3d.json +8 -0
- package/templates/banner-neon-title/preview.png +0 -0
- package/templates/banner-neon-title/scene.json +494 -0
- package/templates/banner-neon-title/template.json +25 -0
- package/templates/banner-wave-grid/README.md +18 -0
- package/templates/banner-wave-grid/agent3d.json +8 -0
- package/templates/banner-wave-grid/preview.png +0 -0
- package/templates/banner-wave-grid/scene.json +217 -0
- package/templates/banner-wave-grid/template.json +23 -0
- package/templates/card-hover-3d/README.md +16 -0
- package/templates/card-hover-3d/agent3d.json +8 -0
- package/templates/card-hover-3d/preview.png +0 -0
- package/templates/card-hover-3d/scene.json +359 -0
- package/templates/card-hover-3d/template.json +21 -0
- package/templates/card-product-tilt/README.md +14 -0
- package/templates/card-product-tilt/agent3d.json +8 -0
- package/templates/card-product-tilt/preview.png +0 -0
- package/templates/card-product-tilt/scene.json +296 -0
- package/templates/card-product-tilt/template.json +23 -0
- package/templates/character-mascot-hero/README.md +19 -0
- package/templates/character-mascot-hero/agent3d.json +8 -0
- package/templates/character-mascot-hero/preview.png +0 -0
- package/templates/character-mascot-hero/scene.json +512 -0
- package/templates/character-mascot-hero/template.json +8 -0
- package/templates/character-showcase/README.md +27 -0
- package/templates/character-showcase/agent3d.json +8 -0
- package/templates/character-showcase/preview.png +0 -0
- package/templates/character-showcase/scene.json +440 -0
- package/templates/character-showcase/template.json +24 -0
- package/templates/diorama-city/README.md +21 -0
- package/templates/diorama-city/agent3d.json +8 -0
- package/templates/diorama-city/preview.png +0 -0
- package/templates/diorama-city/scene.json +432 -0
- package/templates/diorama-city/template.json +21 -0
- package/templates/game-basket/README.md +25 -0
- package/templates/game-basket/agent3d.json +8 -0
- package/templates/game-basket/preview.png +0 -0
- package/templates/game-basket/scene.json +640 -0
- package/templates/game-basket/scripts/basket.js +176 -0
- package/templates/game-basket/template.json +8 -0
- package/templates/game-coin-collector/README.md +28 -0
- package/templates/game-coin-collector/agent3d.json +8 -0
- package/templates/game-coin-collector/preview.png +0 -0
- package/templates/game-coin-collector/scene.json +900 -0
- package/templates/game-coin-collector/scripts/collector.js +210 -0
- package/templates/game-coin-collector/template.json +19 -0
- package/templates/game-maze/README.md +24 -0
- package/templates/game-maze/agent3d.json +8 -0
- package/templates/game-maze/preview.png +0 -0
- package/templates/game-maze/scene.json +315 -0
- package/templates/game-maze/scripts/maze.js +168 -0
- package/templates/game-maze/template.json +18 -0
- package/templates/game-physics-playground/README.md +30 -0
- package/templates/game-physics-playground/agent3d.json +8 -0
- package/templates/game-physics-playground/preview.png +0 -0
- package/templates/game-physics-playground/scene.json +1712 -0
- package/templates/game-physics-playground/scripts/playground.js +151 -0
- package/templates/game-physics-playground/template.json +19 -0
- package/templates/game-platformer/README.md +26 -0
- package/templates/game-platformer/agent3d.json +8 -0
- package/templates/game-platformer/preview.png +0 -0
- package/templates/game-platformer/scene.json +1063 -0
- package/templates/game-platformer/scripts/platformer.js +222 -0
- package/templates/game-platformer/template.json +8 -0
- package/templates/game-runner/README.md +30 -0
- package/templates/game-runner/agent3d.json +8 -0
- package/templates/game-runner/preview.png +0 -0
- package/templates/game-runner/scene.json +1317 -0
- package/templates/game-runner/scripts/runner.js +263 -0
- package/templates/game-runner/template.json +18 -0
- package/templates/game-tap-targets/README.md +21 -0
- package/templates/game-tap-targets/agent3d.json +8 -0
- package/templates/game-tap-targets/preview.png +0 -0
- package/templates/game-tap-targets/scene.json +924 -0
- package/templates/game-tap-targets/scripts/targets.js +159 -0
- package/templates/game-tap-targets/template.json +19 -0
- package/templates/hero-floating-island/README.md +18 -0
- package/templates/hero-floating-island/agent3d.json +8 -0
- package/templates/hero-floating-island/preview.png +0 -0
- package/templates/hero-floating-island/scene.json +658 -0
- package/templates/hero-floating-island/template.json +8 -0
- package/templates/hero-perfume-luxury/README.md +18 -0
- package/templates/hero-perfume-luxury/agent3d.json +8 -0
- package/templates/hero-perfume-luxury/preview.png +0 -0
- package/templates/hero-perfume-luxury/scene.json +529 -0
- package/templates/hero-perfume-luxury/template.json +27 -0
- package/templates/hero-product-turntable/README.md +16 -0
- package/templates/hero-product-turntable/agent3d.json +8 -0
- package/templates/hero-product-turntable/preview.png +0 -0
- package/templates/hero-product-turntable/scene.json +225 -0
- package/templates/hero-product-turntable/template.json +21 -0
- package/templates/hero-saas-globe/README.md +16 -0
- package/templates/hero-saas-globe/agent3d.json +8 -0
- package/templates/hero-saas-globe/preview.png +0 -0
- package/templates/hero-saas-globe/scene.json +318 -0
- package/templates/hero-saas-globe/template.json +24 -0
- package/templates/hero-scroll-story/README.md +26 -0
- package/templates/hero-scroll-story/agent3d.json +8 -0
- package/templates/hero-scroll-story/preview.png +0 -0
- package/templates/hero-scroll-story/scene.json +642 -0
- package/templates/hero-scroll-story/template.json +22 -0
- package/templates/hero-sneaker-showcase/README.md +19 -0
- package/templates/hero-sneaker-showcase/agent3d.json +8 -0
- package/templates/hero-sneaker-showcase/preview.png +0 -0
- package/templates/hero-sneaker-showcase/scene.json +523 -0
- package/templates/hero-sneaker-showcase/template.json +23 -0
- package/templates/hero-space-planet/README.md +17 -0
- package/templates/hero-space-planet/agent3d.json +8 -0
- package/templates/hero-space-planet/preview.png +0 -0
- package/templates/hero-space-planet/scene.json +330 -0
- package/templates/hero-space-planet/template.json +21 -0
- package/templates/landscape-island/README.md +21 -0
- package/templates/landscape-island/agent3d.json +8 -0
- package/templates/landscape-island/preview.png +0 -0
- package/templates/landscape-island/scene.json +716 -0
- package/templates/landscape-island/template.json +24 -0
- package/templates/landscape-night-galaxy/README.md +25 -0
- package/templates/landscape-night-galaxy/agent3d.json +8 -0
- package/templates/landscape-night-galaxy/preview.png +0 -0
- package/templates/landscape-night-galaxy/scene.json +403 -0
- package/templates/landscape-night-galaxy/template.json +8 -0
- package/templates/landscape-valley-sunset/README.md +20 -0
- package/templates/landscape-valley-sunset/agent3d.json +8 -0
- package/templates/landscape-valley-sunset/preview.png +0 -0
- package/templates/landscape-valley-sunset/scene.json +265 -0
- package/templates/landscape-valley-sunset/template.json +22 -0
- package/templates/scene-cozy-room/README.md +21 -0
- package/templates/scene-cozy-room/agent3d.json +8 -0
- package/templates/scene-cozy-room/preview.png +0 -0
- package/templates/scene-cozy-room/scene.json +728 -0
- package/templates/scene-cozy-room/template.json +8 -0
|
@@ -0,0 +1,642 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"id": "hero-scroll-story",
|
|
4
|
+
"title": "Scroll story hero",
|
|
5
|
+
"ariaLabel": "Three-step story told in 3D as you scroll: Design, Build, Launch",
|
|
6
|
+
"seed": 4,
|
|
7
|
+
"target": {
|
|
8
|
+
"kind": "hero",
|
|
9
|
+
"aspect": "16:9",
|
|
10
|
+
"budgetKb": 600,
|
|
11
|
+
"reducedMotion": "static",
|
|
12
|
+
"posterTime": 0,
|
|
13
|
+
"maxDpr": 2
|
|
14
|
+
},
|
|
15
|
+
"camera": {
|
|
16
|
+
"type": "perspective",
|
|
17
|
+
"fov": 38,
|
|
18
|
+
"position": [
|
|
19
|
+
0,
|
|
20
|
+
1.2,
|
|
21
|
+
8
|
|
22
|
+
],
|
|
23
|
+
"target": [
|
|
24
|
+
0,
|
|
25
|
+
0.4,
|
|
26
|
+
0
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"environment": {
|
|
30
|
+
"background": {
|
|
31
|
+
"gradient": [
|
|
32
|
+
"#f8fafc",
|
|
33
|
+
"#eef2ff"
|
|
34
|
+
],
|
|
35
|
+
"angle": 0
|
|
36
|
+
},
|
|
37
|
+
"lighting": "soft",
|
|
38
|
+
"fog": {
|
|
39
|
+
"color": "#f1f4ff",
|
|
40
|
+
"near": 12,
|
|
41
|
+
"far": 30
|
|
42
|
+
},
|
|
43
|
+
"contactShadows": {
|
|
44
|
+
"opacity": 0.35,
|
|
45
|
+
"blur": 3,
|
|
46
|
+
"y": -1.24
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"lights": [
|
|
50
|
+
{
|
|
51
|
+
"id": "fill",
|
|
52
|
+
"type": "hemisphere",
|
|
53
|
+
"skyColor": "#ffffff",
|
|
54
|
+
"groundColor": "#c7d2fe",
|
|
55
|
+
"intensity": 0.9
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": "key",
|
|
59
|
+
"type": "directional",
|
|
60
|
+
"position": [
|
|
61
|
+
6,
|
|
62
|
+
8,
|
|
63
|
+
6
|
|
64
|
+
],
|
|
65
|
+
"intensity": 2,
|
|
66
|
+
"castShadow": true
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"objects": [
|
|
70
|
+
{
|
|
71
|
+
"id": "design",
|
|
72
|
+
"kind": "group",
|
|
73
|
+
"position": [
|
|
74
|
+
1.6,
|
|
75
|
+
-0.6,
|
|
76
|
+
0
|
|
77
|
+
],
|
|
78
|
+
"behaviours": [
|
|
79
|
+
{
|
|
80
|
+
"type": "float",
|
|
81
|
+
"amplitude": 0.08,
|
|
82
|
+
"speed": 0.3
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"children": [
|
|
86
|
+
{
|
|
87
|
+
"id": "block1",
|
|
88
|
+
"kind": "mesh",
|
|
89
|
+
"geometry": {
|
|
90
|
+
"type": "roundedBox",
|
|
91
|
+
"width": 1.6,
|
|
92
|
+
"height": 0.5,
|
|
93
|
+
"depth": 1.6,
|
|
94
|
+
"radius": 0.12
|
|
95
|
+
},
|
|
96
|
+
"position": [
|
|
97
|
+
0,
|
|
98
|
+
0,
|
|
99
|
+
0
|
|
100
|
+
],
|
|
101
|
+
"rotation": [
|
|
102
|
+
0,
|
|
103
|
+
20,
|
|
104
|
+
0
|
|
105
|
+
],
|
|
106
|
+
"material": {
|
|
107
|
+
"preset": "mattePastel",
|
|
108
|
+
"color": "#a5b4fc"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"id": "block2",
|
|
113
|
+
"kind": "mesh",
|
|
114
|
+
"geometry": {
|
|
115
|
+
"type": "roundedBox",
|
|
116
|
+
"width": 1.2,
|
|
117
|
+
"height": 0.5,
|
|
118
|
+
"depth": 1.2,
|
|
119
|
+
"radius": 0.12
|
|
120
|
+
},
|
|
121
|
+
"position": [
|
|
122
|
+
0,
|
|
123
|
+
0.55,
|
|
124
|
+
0
|
|
125
|
+
],
|
|
126
|
+
"rotation": [
|
|
127
|
+
0,
|
|
128
|
+
40,
|
|
129
|
+
0
|
|
130
|
+
],
|
|
131
|
+
"material": {
|
|
132
|
+
"preset": "mattePastel",
|
|
133
|
+
"color": "#f9a8d4"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"id": "block3",
|
|
138
|
+
"kind": "mesh",
|
|
139
|
+
"geometry": {
|
|
140
|
+
"type": "roundedBox",
|
|
141
|
+
"width": 0.8,
|
|
142
|
+
"height": 0.5,
|
|
143
|
+
"depth": 0.8,
|
|
144
|
+
"radius": 0.12
|
|
145
|
+
},
|
|
146
|
+
"position": [
|
|
147
|
+
0,
|
|
148
|
+
1.1,
|
|
149
|
+
0
|
|
150
|
+
],
|
|
151
|
+
"rotation": [
|
|
152
|
+
0,
|
|
153
|
+
60,
|
|
154
|
+
0
|
|
155
|
+
],
|
|
156
|
+
"material": {
|
|
157
|
+
"preset": "mattePastel",
|
|
158
|
+
"color": "#fde68a"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"id": "pencil",
|
|
163
|
+
"kind": "mesh",
|
|
164
|
+
"geometry": {
|
|
165
|
+
"type": "icosahedron",
|
|
166
|
+
"radius": 0.3,
|
|
167
|
+
"detail": 0
|
|
168
|
+
},
|
|
169
|
+
"position": [
|
|
170
|
+
0,
|
|
171
|
+
1.8,
|
|
172
|
+
0
|
|
173
|
+
],
|
|
174
|
+
"material": {
|
|
175
|
+
"preset": "jelly",
|
|
176
|
+
"color": "#b9f5d8",
|
|
177
|
+
"attenuationColor": "#34d399",
|
|
178
|
+
"attenuationDistance": 1.5
|
|
179
|
+
},
|
|
180
|
+
"behaviours": [
|
|
181
|
+
{
|
|
182
|
+
"type": "rotate",
|
|
183
|
+
"speed": 40
|
|
184
|
+
}
|
|
185
|
+
]
|
|
186
|
+
}
|
|
187
|
+
]
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"id": "t1",
|
|
191
|
+
"kind": "text",
|
|
192
|
+
"text": "Design",
|
|
193
|
+
"font": "inter-black",
|
|
194
|
+
"size": 0.7,
|
|
195
|
+
"depth": 0.18,
|
|
196
|
+
"bevel": 0.015,
|
|
197
|
+
"align": "left",
|
|
198
|
+
"position": [
|
|
199
|
+
-4.2,
|
|
200
|
+
0.9,
|
|
201
|
+
0.5
|
|
202
|
+
],
|
|
203
|
+
"material": {
|
|
204
|
+
"preset": "plastic",
|
|
205
|
+
"color": "#4338ca",
|
|
206
|
+
"roughness": 0.35
|
|
207
|
+
},
|
|
208
|
+
"letterSpacing": -0.02,
|
|
209
|
+
"splitLetters": true
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"id": "s1",
|
|
213
|
+
"kind": "text",
|
|
214
|
+
"text": "01 — Shape the idea",
|
|
215
|
+
"font": "sans",
|
|
216
|
+
"size": 0.24,
|
|
217
|
+
"depth": 0.01,
|
|
218
|
+
"bevel": 0,
|
|
219
|
+
"align": "left",
|
|
220
|
+
"position": [
|
|
221
|
+
-4.15,
|
|
222
|
+
0.15,
|
|
223
|
+
0.5
|
|
224
|
+
],
|
|
225
|
+
"material": {
|
|
226
|
+
"type": "standard",
|
|
227
|
+
"color": "#475569",
|
|
228
|
+
"roughness": 0.8
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"id": "build",
|
|
233
|
+
"kind": "mesh",
|
|
234
|
+
"geometry": {
|
|
235
|
+
"type": "torusKnot",
|
|
236
|
+
"radius": 0.9,
|
|
237
|
+
"tube": 0.28,
|
|
238
|
+
"tubularSegments": 200,
|
|
239
|
+
"radialSegments": 24
|
|
240
|
+
},
|
|
241
|
+
"position": [
|
|
242
|
+
15.6,
|
|
243
|
+
0.4,
|
|
244
|
+
0
|
|
245
|
+
],
|
|
246
|
+
"material": {
|
|
247
|
+
"preset": "chromeGradient",
|
|
248
|
+
"gradient": [
|
|
249
|
+
"#4f46e5",
|
|
250
|
+
"#14b8a6",
|
|
251
|
+
"#a7f3d0"
|
|
252
|
+
],
|
|
253
|
+
"roughness": 0.12
|
|
254
|
+
},
|
|
255
|
+
"behaviours": [
|
|
256
|
+
{
|
|
257
|
+
"type": "rotate",
|
|
258
|
+
"axis": [
|
|
259
|
+
0.3,
|
|
260
|
+
1,
|
|
261
|
+
0.2
|
|
262
|
+
],
|
|
263
|
+
"speed": 20
|
|
264
|
+
}
|
|
265
|
+
]
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"id": "t2",
|
|
269
|
+
"kind": "text",
|
|
270
|
+
"text": "Build",
|
|
271
|
+
"font": "inter-black",
|
|
272
|
+
"size": 0.7,
|
|
273
|
+
"depth": 0.18,
|
|
274
|
+
"bevel": 0.015,
|
|
275
|
+
"align": "left",
|
|
276
|
+
"position": [
|
|
277
|
+
9.8,
|
|
278
|
+
0.9,
|
|
279
|
+
0.5
|
|
280
|
+
],
|
|
281
|
+
"material": {
|
|
282
|
+
"preset": "plastic",
|
|
283
|
+
"color": "#0f766e",
|
|
284
|
+
"roughness": 0.35
|
|
285
|
+
},
|
|
286
|
+
"letterSpacing": -0.02,
|
|
287
|
+
"splitLetters": true
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"id": "s2",
|
|
291
|
+
"kind": "text",
|
|
292
|
+
"text": "02 — Engineer it",
|
|
293
|
+
"font": "sans",
|
|
294
|
+
"size": 0.24,
|
|
295
|
+
"depth": 0.01,
|
|
296
|
+
"bevel": 0,
|
|
297
|
+
"align": "left",
|
|
298
|
+
"position": [
|
|
299
|
+
9.85,
|
|
300
|
+
0.15,
|
|
301
|
+
0.5
|
|
302
|
+
],
|
|
303
|
+
"material": {
|
|
304
|
+
"type": "standard",
|
|
305
|
+
"color": "#475569",
|
|
306
|
+
"roughness": 0.8
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"id": "launchPad",
|
|
311
|
+
"kind": "model",
|
|
312
|
+
"src": "library:models/space/landing-pad.glb",
|
|
313
|
+
"fit": 2.4,
|
|
314
|
+
"position": [
|
|
315
|
+
29.6,
|
|
316
|
+
-1.2,
|
|
317
|
+
0
|
|
318
|
+
]
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"id": "rocket",
|
|
322
|
+
"kind": "model",
|
|
323
|
+
"src": "library:models/space/lander.glb",
|
|
324
|
+
"fit": 1.6,
|
|
325
|
+
"position": [
|
|
326
|
+
29.6,
|
|
327
|
+
-0.75,
|
|
328
|
+
0
|
|
329
|
+
],
|
|
330
|
+
"behaviours": [
|
|
331
|
+
{
|
|
332
|
+
"type": "float",
|
|
333
|
+
"amplitude": 0.1,
|
|
334
|
+
"speed": 0.5
|
|
335
|
+
}
|
|
336
|
+
]
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"id": "exhaust",
|
|
340
|
+
"kind": "particles",
|
|
341
|
+
"preset": "embers",
|
|
342
|
+
"count": 80,
|
|
343
|
+
"area": [
|
|
344
|
+
0.6,
|
|
345
|
+
0.3,
|
|
346
|
+
0.6
|
|
347
|
+
],
|
|
348
|
+
"position": [
|
|
349
|
+
29.6,
|
|
350
|
+
-0.7,
|
|
351
|
+
0
|
|
352
|
+
],
|
|
353
|
+
"color": [
|
|
354
|
+
"#fb923c",
|
|
355
|
+
"#fde047"
|
|
356
|
+
],
|
|
357
|
+
"size": 0.08
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"id": "t3",
|
|
361
|
+
"kind": "text",
|
|
362
|
+
"text": "Launch",
|
|
363
|
+
"font": "inter-black",
|
|
364
|
+
"size": 0.7,
|
|
365
|
+
"depth": 0.18,
|
|
366
|
+
"bevel": 0.015,
|
|
367
|
+
"align": "left",
|
|
368
|
+
"position": [
|
|
369
|
+
24.4,
|
|
370
|
+
0.9,
|
|
371
|
+
0.5
|
|
372
|
+
],
|
|
373
|
+
"material": {
|
|
374
|
+
"preset": "plastic",
|
|
375
|
+
"color": "#c2410c",
|
|
376
|
+
"roughness": 0.35
|
|
377
|
+
},
|
|
378
|
+
"letterSpacing": -0.02,
|
|
379
|
+
"splitLetters": true
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"id": "s3",
|
|
383
|
+
"kind": "text",
|
|
384
|
+
"text": "03 — Ship it to the world",
|
|
385
|
+
"font": "sans",
|
|
386
|
+
"size": 0.24,
|
|
387
|
+
"depth": 0.01,
|
|
388
|
+
"bevel": 0,
|
|
389
|
+
"align": "left",
|
|
390
|
+
"position": [
|
|
391
|
+
24.45,
|
|
392
|
+
0.15,
|
|
393
|
+
0.5
|
|
394
|
+
],
|
|
395
|
+
"material": {
|
|
396
|
+
"type": "standard",
|
|
397
|
+
"color": "#475569",
|
|
398
|
+
"roughness": 0.8
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"id": "floor",
|
|
403
|
+
"kind": "mesh",
|
|
404
|
+
"geometry": {
|
|
405
|
+
"type": "plane",
|
|
406
|
+
"width": 60,
|
|
407
|
+
"height": 14
|
|
408
|
+
},
|
|
409
|
+
"rotation": [
|
|
410
|
+
-90,
|
|
411
|
+
0,
|
|
412
|
+
0
|
|
413
|
+
],
|
|
414
|
+
"position": [
|
|
415
|
+
14,
|
|
416
|
+
-1.25,
|
|
417
|
+
-1
|
|
418
|
+
],
|
|
419
|
+
"material": {
|
|
420
|
+
"type": "standard",
|
|
421
|
+
"color": "#eef2ff",
|
|
422
|
+
"roughness": 1
|
|
423
|
+
},
|
|
424
|
+
"receiveShadow": true
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"id": "dust",
|
|
428
|
+
"kind": "particles",
|
|
429
|
+
"preset": "dust",
|
|
430
|
+
"count": 200,
|
|
431
|
+
"area": [
|
|
432
|
+
46,
|
|
433
|
+
6,
|
|
434
|
+
8
|
|
435
|
+
],
|
|
436
|
+
"position": [
|
|
437
|
+
14,
|
|
438
|
+
1,
|
|
439
|
+
0
|
|
440
|
+
],
|
|
441
|
+
"color": "#94a3b8",
|
|
442
|
+
"size": 0.035,
|
|
443
|
+
"opacity": 0.5
|
|
444
|
+
}
|
|
445
|
+
],
|
|
446
|
+
"timeline": {
|
|
447
|
+
"duration": 10,
|
|
448
|
+
"trigger": "scroll",
|
|
449
|
+
"loop": false,
|
|
450
|
+
"tracks": [
|
|
451
|
+
{
|
|
452
|
+
"target": "camera.position",
|
|
453
|
+
"keys": [
|
|
454
|
+
[
|
|
455
|
+
0,
|
|
456
|
+
[
|
|
457
|
+
0,
|
|
458
|
+
1.2,
|
|
459
|
+
8
|
|
460
|
+
]
|
|
461
|
+
],
|
|
462
|
+
[
|
|
463
|
+
2,
|
|
464
|
+
[
|
|
465
|
+
0,
|
|
466
|
+
1.2,
|
|
467
|
+
8
|
|
468
|
+
]
|
|
469
|
+
],
|
|
470
|
+
[
|
|
471
|
+
4,
|
|
472
|
+
[
|
|
473
|
+
14,
|
|
474
|
+
1.6,
|
|
475
|
+
8
|
|
476
|
+
]
|
|
477
|
+
],
|
|
478
|
+
[
|
|
479
|
+
6,
|
|
480
|
+
[
|
|
481
|
+
14,
|
|
482
|
+
1.6,
|
|
483
|
+
8
|
|
484
|
+
]
|
|
485
|
+
],
|
|
486
|
+
[
|
|
487
|
+
8,
|
|
488
|
+
[
|
|
489
|
+
28,
|
|
490
|
+
1.0,
|
|
491
|
+
8
|
|
492
|
+
]
|
|
493
|
+
],
|
|
494
|
+
[
|
|
495
|
+
10,
|
|
496
|
+
[
|
|
497
|
+
28,
|
|
498
|
+
1.4,
|
|
499
|
+
7.4
|
|
500
|
+
]
|
|
501
|
+
]
|
|
502
|
+
],
|
|
503
|
+
"ease": "inOutCubic"
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"target": "camera.target",
|
|
507
|
+
"keys": [
|
|
508
|
+
[
|
|
509
|
+
0,
|
|
510
|
+
[
|
|
511
|
+
0,
|
|
512
|
+
0.4,
|
|
513
|
+
0
|
|
514
|
+
]
|
|
515
|
+
],
|
|
516
|
+
[
|
|
517
|
+
2,
|
|
518
|
+
[
|
|
519
|
+
0,
|
|
520
|
+
0.4,
|
|
521
|
+
0
|
|
522
|
+
]
|
|
523
|
+
],
|
|
524
|
+
[
|
|
525
|
+
4,
|
|
526
|
+
[
|
|
527
|
+
14,
|
|
528
|
+
0.4,
|
|
529
|
+
0
|
|
530
|
+
]
|
|
531
|
+
],
|
|
532
|
+
[
|
|
533
|
+
6,
|
|
534
|
+
[
|
|
535
|
+
14,
|
|
536
|
+
0.4,
|
|
537
|
+
0
|
|
538
|
+
]
|
|
539
|
+
],
|
|
540
|
+
[
|
|
541
|
+
8,
|
|
542
|
+
[
|
|
543
|
+
28,
|
|
544
|
+
0.2,
|
|
545
|
+
0
|
|
546
|
+
]
|
|
547
|
+
],
|
|
548
|
+
[
|
|
549
|
+
10,
|
|
550
|
+
[
|
|
551
|
+
28,
|
|
552
|
+
0.4,
|
|
553
|
+
0
|
|
554
|
+
]
|
|
555
|
+
]
|
|
556
|
+
],
|
|
557
|
+
"ease": "inOutCubic"
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"target": "rocket.position.y",
|
|
561
|
+
"keys": [
|
|
562
|
+
[
|
|
563
|
+
0,
|
|
564
|
+
-0.75
|
|
565
|
+
],
|
|
566
|
+
[
|
|
567
|
+
8.5,
|
|
568
|
+
-0.75
|
|
569
|
+
],
|
|
570
|
+
[
|
|
571
|
+
10,
|
|
572
|
+
1.2
|
|
573
|
+
]
|
|
574
|
+
],
|
|
575
|
+
"ease": "inCubic"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"target": "children:t2.scale",
|
|
579
|
+
"keys": [
|
|
580
|
+
[
|
|
581
|
+
2.4,
|
|
582
|
+
0.001
|
|
583
|
+
],
|
|
584
|
+
[
|
|
585
|
+
3.6,
|
|
586
|
+
1,
|
|
587
|
+
"outBack"
|
|
588
|
+
]
|
|
589
|
+
],
|
|
590
|
+
"stagger": 0.05
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
"target": "children:t3.scale",
|
|
594
|
+
"keys": [
|
|
595
|
+
[
|
|
596
|
+
6.4,
|
|
597
|
+
0.001
|
|
598
|
+
],
|
|
599
|
+
[
|
|
600
|
+
7.6,
|
|
601
|
+
1,
|
|
602
|
+
"outBack"
|
|
603
|
+
]
|
|
604
|
+
],
|
|
605
|
+
"stagger": 0.05
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"target": "build.rotation.y",
|
|
609
|
+
"keys": [
|
|
610
|
+
[
|
|
611
|
+
2,
|
|
612
|
+
0
|
|
613
|
+
],
|
|
614
|
+
[
|
|
615
|
+
6,
|
|
616
|
+
180
|
|
617
|
+
]
|
|
618
|
+
],
|
|
619
|
+
"ease": "inOutSine"
|
|
620
|
+
}
|
|
621
|
+
],
|
|
622
|
+
"markers": {
|
|
623
|
+
"design": 1,
|
|
624
|
+
"build": 5,
|
|
625
|
+
"launch": 9
|
|
626
|
+
},
|
|
627
|
+
"scroll": {
|
|
628
|
+
"smoothing": 0.85
|
|
629
|
+
}
|
|
630
|
+
},
|
|
631
|
+
"postfx": [
|
|
632
|
+
{
|
|
633
|
+
"type": "look",
|
|
634
|
+
"preset": "clean"
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
"type": "ao",
|
|
638
|
+
"intensity": 0.7,
|
|
639
|
+
"radius": 0.5
|
|
640
|
+
}
|
|
641
|
+
]
|
|
642
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "hero-scroll-story",
|
|
3
|
+
"title": "Scroll story hero",
|
|
4
|
+
"description": "Scroll-driven 3D story: as the page scrolls, the camera glides across three chapters \u2014 Design, Build, Launch \u2014 each with its own object and a bold 3D title that pops in letter by letter, with markers that emit page events.",
|
|
5
|
+
"kind": "hero",
|
|
6
|
+
"tags": [
|
|
7
|
+
"hero",
|
|
8
|
+
"scroll",
|
|
9
|
+
"scrollytelling",
|
|
10
|
+
"story",
|
|
11
|
+
"steps",
|
|
12
|
+
"process",
|
|
13
|
+
"saas",
|
|
14
|
+
"product",
|
|
15
|
+
"chapters",
|
|
16
|
+
"camera",
|
|
17
|
+
"timeline",
|
|
18
|
+
"markers",
|
|
19
|
+
"light"
|
|
20
|
+
],
|
|
21
|
+
"aspect": "16:9"
|
|
22
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Sneaker showcase hero
|
|
2
|
+
|
|
3
|
+
A 16:9 e-commerce hero: the library sneaker drops and spins onto a ceramic pedestal in front of a big sun disc on a coral backdrop (softbox light rig, studio IBL, contact shadow, `product` look). The left column holds a 3D title, tagline, price and a pill "Shop now" button — all bound to `scene.data`, so the page can personalise them without touching the scene.
|
|
4
|
+
|
|
5
|
+
Interactions: hovering the shoe lifts it, **clicking the shoe toggles the `detail` segment** (the shoe turns to show its other side while the camera glides in and the text slides away; click again to come back), the button links to `{data.url}`.
|
|
6
|
+
|
|
7
|
+
## What to tweak
|
|
8
|
+
|
|
9
|
+
| Change | Where |
|
|
10
|
+
|---|---|
|
|
11
|
+
| Texts | `data.title`, `data.tagline`, `data.price`, `data.cta` — or per embed: `<agent3d-scene data-title="AIR FLOW" data-price="$129">` |
|
|
12
|
+
| Button link | `data.url` (the `cta` group's `href`) |
|
|
13
|
+
| Product | `objects#shoe.src` (any `.glb`; keep `fit` ≈ 2.35) |
|
|
14
|
+
| Backdrop colours | `environment.background.radial` (centre, edge) and `objects#halo.material.color` (the disc) |
|
|
15
|
+
| Pedestal | `objects#pedestal.material` (ceramic preset), `objects#plinth` (base), `objects#pedestalRing` (gold rim) |
|
|
16
|
+
| Detail view | `camera.shots[0]` (where the camera goes) and the `rig.rotation.y` keys after 2.4 s |
|
|
17
|
+
| Intro | timeline keys before the `ready` marker (2.4 s) |
|
|
18
|
+
|
|
19
|
+
The intro plays once (`autoplay: "intro"`); reduced motion shows the poster frame at 2.4 s. Long titles wrap at `objects#title.maxWidth` (3.2 units).
|
|
Binary file
|