@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,523 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"id": "hero-sneaker-showcase",
|
|
4
|
+
"title": "Stride Runner sneaker showcase",
|
|
5
|
+
"ariaLabel": "Product hero: a running sneaker spinning onto a studio pedestal, with its price and a Shop now button",
|
|
6
|
+
"seed": 3,
|
|
7
|
+
"data": {
|
|
8
|
+
"title": "STRIDE RUNNER",
|
|
9
|
+
"tagline": "Featherlight knit. All-day bounce.",
|
|
10
|
+
"price": "$149",
|
|
11
|
+
"cta": "Shop now",
|
|
12
|
+
"url": "#shop"
|
|
13
|
+
},
|
|
14
|
+
"target": {
|
|
15
|
+
"kind": "hero",
|
|
16
|
+
"aspect": "16:9",
|
|
17
|
+
"budgetKb": 1500,
|
|
18
|
+
"reducedMotion": "static",
|
|
19
|
+
"posterTime": 2.4,
|
|
20
|
+
"maxDpr": 2,
|
|
21
|
+
"toneMapping": "neutral",
|
|
22
|
+
"exposure": 1.0
|
|
23
|
+
},
|
|
24
|
+
"camera": {
|
|
25
|
+
"type": "perspective",
|
|
26
|
+
"fov": 30,
|
|
27
|
+
"position": [
|
|
28
|
+
-1.55,
|
|
29
|
+
0.35,
|
|
30
|
+
7.2
|
|
31
|
+
],
|
|
32
|
+
"target": [
|
|
33
|
+
-1.55,
|
|
34
|
+
-0.15,
|
|
35
|
+
0
|
|
36
|
+
],
|
|
37
|
+
"controls": "parallax",
|
|
38
|
+
"parallax": {
|
|
39
|
+
"strength": 0.25,
|
|
40
|
+
"smoothing": 0.93
|
|
41
|
+
},
|
|
42
|
+
"shots": [
|
|
43
|
+
{
|
|
44
|
+
"type": "move",
|
|
45
|
+
"at": 2.4,
|
|
46
|
+
"duration": 1.6,
|
|
47
|
+
"position": [
|
|
48
|
+
0.8,
|
|
49
|
+
0.05,
|
|
50
|
+
4.5
|
|
51
|
+
],
|
|
52
|
+
"target": [
|
|
53
|
+
0.05,
|
|
54
|
+
-0.4,
|
|
55
|
+
0
|
|
56
|
+
],
|
|
57
|
+
"ease": "inOutCubic"
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
"environment": {
|
|
62
|
+
"background": {
|
|
63
|
+
"radial": [
|
|
64
|
+
"#ff9a6b",
|
|
65
|
+
"#d9452f"
|
|
66
|
+
],
|
|
67
|
+
"center": [
|
|
68
|
+
0.68,
|
|
69
|
+
0.56
|
|
70
|
+
],
|
|
71
|
+
"radius": 0.85,
|
|
72
|
+
"grain": 0.03
|
|
73
|
+
},
|
|
74
|
+
"lighting": "studio",
|
|
75
|
+
"lightingIntensity": 0.9,
|
|
76
|
+
"rig": {
|
|
77
|
+
"preset": "softbox",
|
|
78
|
+
"intensity": 1.1,
|
|
79
|
+
"rotation": -20
|
|
80
|
+
},
|
|
81
|
+
"contactShadows": {
|
|
82
|
+
"opacity": 0.6,
|
|
83
|
+
"blur": 2.2,
|
|
84
|
+
"color": "#4a1006",
|
|
85
|
+
"y": -0.855,
|
|
86
|
+
"size": 3
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"lights": [
|
|
90
|
+
{
|
|
91
|
+
"id": "rimWarm",
|
|
92
|
+
"type": "point",
|
|
93
|
+
"position": [
|
|
94
|
+
2.05,
|
|
95
|
+
1.6,
|
|
96
|
+
-2.2
|
|
97
|
+
],
|
|
98
|
+
"color": "#ffd2a8",
|
|
99
|
+
"intensity": 18,
|
|
100
|
+
"distance": 9
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
"objects": [
|
|
104
|
+
{
|
|
105
|
+
"id": "halo",
|
|
106
|
+
"kind": "mesh",
|
|
107
|
+
"geometry": {
|
|
108
|
+
"type": "circle",
|
|
109
|
+
"radius": 2.0,
|
|
110
|
+
"segments": 96
|
|
111
|
+
},
|
|
112
|
+
"position": [
|
|
113
|
+
0.0,
|
|
114
|
+
0.35,
|
|
115
|
+
-2.2
|
|
116
|
+
],
|
|
117
|
+
"material": {
|
|
118
|
+
"type": "basic",
|
|
119
|
+
"color": "#ffa47c"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"id": "pedestal",
|
|
124
|
+
"kind": "mesh",
|
|
125
|
+
"geometry": {
|
|
126
|
+
"type": "cylinder",
|
|
127
|
+
"radiusTop": 1.3,
|
|
128
|
+
"radiusBottom": 1.3,
|
|
129
|
+
"height": 0.5,
|
|
130
|
+
"segments": 96
|
|
131
|
+
},
|
|
132
|
+
"position": [
|
|
133
|
+
0.0,
|
|
134
|
+
-1.12,
|
|
135
|
+
0
|
|
136
|
+
],
|
|
137
|
+
"material": {
|
|
138
|
+
"preset": "ceramic",
|
|
139
|
+
"color": "#ffd9c6"
|
|
140
|
+
},
|
|
141
|
+
"behaviours": [
|
|
142
|
+
{
|
|
143
|
+
"type": "appear",
|
|
144
|
+
"effect": "rise",
|
|
145
|
+
"duration": 0.9,
|
|
146
|
+
"ease": "outCubic"
|
|
147
|
+
}
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"id": "plinth",
|
|
152
|
+
"kind": "mesh",
|
|
153
|
+
"geometry": {
|
|
154
|
+
"type": "cylinder",
|
|
155
|
+
"radiusTop": 1.48,
|
|
156
|
+
"radiusBottom": 1.5,
|
|
157
|
+
"height": 0.08,
|
|
158
|
+
"segments": 96
|
|
159
|
+
},
|
|
160
|
+
"position": [
|
|
161
|
+
0.0,
|
|
162
|
+
-1.41,
|
|
163
|
+
0
|
|
164
|
+
],
|
|
165
|
+
"material": {
|
|
166
|
+
"preset": "ceramic",
|
|
167
|
+
"color": "#c63a24"
|
|
168
|
+
},
|
|
169
|
+
"behaviours": [
|
|
170
|
+
{
|
|
171
|
+
"type": "appear",
|
|
172
|
+
"effect": "rise",
|
|
173
|
+
"duration": 0.9,
|
|
174
|
+
"ease": "outCubic"
|
|
175
|
+
}
|
|
176
|
+
]
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"id": "pedestalRing",
|
|
180
|
+
"kind": "mesh",
|
|
181
|
+
"geometry": {
|
|
182
|
+
"type": "torus",
|
|
183
|
+
"radius": 1.31,
|
|
184
|
+
"tube": 0.012,
|
|
185
|
+
"radialSegments": 8,
|
|
186
|
+
"tubularSegments": 160
|
|
187
|
+
},
|
|
188
|
+
"position": [
|
|
189
|
+
0.0,
|
|
190
|
+
-0.87,
|
|
191
|
+
0
|
|
192
|
+
],
|
|
193
|
+
"rotation": [
|
|
194
|
+
90,
|
|
195
|
+
0,
|
|
196
|
+
0
|
|
197
|
+
],
|
|
198
|
+
"material": {
|
|
199
|
+
"preset": "gold",
|
|
200
|
+
"roughness": 0.2
|
|
201
|
+
},
|
|
202
|
+
"behaviours": [
|
|
203
|
+
{
|
|
204
|
+
"type": "appear",
|
|
205
|
+
"effect": "rise",
|
|
206
|
+
"duration": 0.9,
|
|
207
|
+
"ease": "outCubic"
|
|
208
|
+
}
|
|
209
|
+
]
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"id": "rig",
|
|
213
|
+
"kind": "group",
|
|
214
|
+
"position": [
|
|
215
|
+
0.0,
|
|
216
|
+
-0.86,
|
|
217
|
+
0
|
|
218
|
+
],
|
|
219
|
+
"children": [
|
|
220
|
+
{
|
|
221
|
+
"id": "shoe",
|
|
222
|
+
"kind": "model",
|
|
223
|
+
"src": "library:models/products/sneaker.glb",
|
|
224
|
+
"fit": 2.35,
|
|
225
|
+
"rotation": [
|
|
226
|
+
0,
|
|
227
|
+
0,
|
|
228
|
+
0
|
|
229
|
+
],
|
|
230
|
+
"castShadow": true,
|
|
231
|
+
"behaviours": [
|
|
232
|
+
{
|
|
233
|
+
"type": "float",
|
|
234
|
+
"amplitude": 0.05,
|
|
235
|
+
"speed": 0.35
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"type": "hoverLift",
|
|
239
|
+
"height": 0.12,
|
|
240
|
+
"tilt": 6
|
|
241
|
+
}
|
|
242
|
+
]
|
|
243
|
+
}
|
|
244
|
+
]
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"id": "title",
|
|
248
|
+
"kind": "text",
|
|
249
|
+
"text": "{data.title|STRIDE RUNNER}",
|
|
250
|
+
"font": "inter-black",
|
|
251
|
+
"size": 0.36,
|
|
252
|
+
"depth": 0.03,
|
|
253
|
+
"letterSpacing": -0.01,
|
|
254
|
+
"align": "left",
|
|
255
|
+
"maxWidth": 3.2,
|
|
256
|
+
"lineHeight": 1.05,
|
|
257
|
+
"position": [
|
|
258
|
+
-4.7,
|
|
259
|
+
0.55,
|
|
260
|
+
0.3
|
|
261
|
+
],
|
|
262
|
+
"material": {
|
|
263
|
+
"type": "basic",
|
|
264
|
+
"color": "#fff6ef"
|
|
265
|
+
},
|
|
266
|
+
"reveal": {
|
|
267
|
+
"effect": "rise",
|
|
268
|
+
"stagger": 0.035,
|
|
269
|
+
"duration": 0.7,
|
|
270
|
+
"delay": 0.5
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"id": "tagline",
|
|
275
|
+
"kind": "text",
|
|
276
|
+
"text": "{data.tagline|Featherlight knit. All-day bounce.}",
|
|
277
|
+
"font": "sans",
|
|
278
|
+
"size": 0.13,
|
|
279
|
+
"depth": 0,
|
|
280
|
+
"align": "left",
|
|
281
|
+
"position": [
|
|
282
|
+
-4.68,
|
|
283
|
+
0.0,
|
|
284
|
+
0.3
|
|
285
|
+
],
|
|
286
|
+
"material": {
|
|
287
|
+
"type": "basic",
|
|
288
|
+
"color": "#ffe3d4"
|
|
289
|
+
},
|
|
290
|
+
"behaviours": [
|
|
291
|
+
{
|
|
292
|
+
"type": "appear",
|
|
293
|
+
"effect": "fade",
|
|
294
|
+
"duration": 0.8,
|
|
295
|
+
"delay": 1.1,
|
|
296
|
+
"ease": "outCubic"
|
|
297
|
+
}
|
|
298
|
+
]
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"id": "price",
|
|
302
|
+
"kind": "text",
|
|
303
|
+
"text": "{data.price|$149}",
|
|
304
|
+
"font": "inter-black",
|
|
305
|
+
"size": 0.3,
|
|
306
|
+
"depth": 0.04,
|
|
307
|
+
"align": "left",
|
|
308
|
+
"position": [
|
|
309
|
+
-4.69,
|
|
310
|
+
-0.5,
|
|
311
|
+
0.3
|
|
312
|
+
],
|
|
313
|
+
"material": {
|
|
314
|
+
"type": "standard",
|
|
315
|
+
"color": "#16226b",
|
|
316
|
+
"roughness": 0.5
|
|
317
|
+
},
|
|
318
|
+
"behaviours": [
|
|
319
|
+
{
|
|
320
|
+
"type": "appear",
|
|
321
|
+
"effect": "rise",
|
|
322
|
+
"duration": 0.7,
|
|
323
|
+
"delay": 1.25,
|
|
324
|
+
"ease": "outCubic"
|
|
325
|
+
}
|
|
326
|
+
]
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"id": "cta",
|
|
330
|
+
"kind": "group",
|
|
331
|
+
"position": [
|
|
332
|
+
-3.9,
|
|
333
|
+
-1.15,
|
|
334
|
+
0.3
|
|
335
|
+
],
|
|
336
|
+
"href": "{data.url|#shop}",
|
|
337
|
+
"behaviours": [
|
|
338
|
+
{
|
|
339
|
+
"type": "appear",
|
|
340
|
+
"effect": "scale",
|
|
341
|
+
"duration": 0.6,
|
|
342
|
+
"delay": 1.45
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"type": "hoverScale",
|
|
346
|
+
"scale": 1.07
|
|
347
|
+
}
|
|
348
|
+
],
|
|
349
|
+
"children": [
|
|
350
|
+
{
|
|
351
|
+
"id": "ctaPill",
|
|
352
|
+
"kind": "mesh",
|
|
353
|
+
"geometry": {
|
|
354
|
+
"type": "capsule",
|
|
355
|
+
"radius": 0.21,
|
|
356
|
+
"length": 1.15,
|
|
357
|
+
"segments": 24
|
|
358
|
+
},
|
|
359
|
+
"material": {
|
|
360
|
+
"type": "physical",
|
|
361
|
+
"color": "#14205a",
|
|
362
|
+
"roughness": 0.3,
|
|
363
|
+
"clearcoat": 1
|
|
364
|
+
},
|
|
365
|
+
"rotation": [
|
|
366
|
+
0,
|
|
367
|
+
0,
|
|
368
|
+
90
|
|
369
|
+
],
|
|
370
|
+
"scale": [
|
|
371
|
+
1,
|
|
372
|
+
1,
|
|
373
|
+
0.35
|
|
374
|
+
]
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"id": "ctaLabel",
|
|
378
|
+
"kind": "text",
|
|
379
|
+
"text": "{data.cta|Shop now}",
|
|
380
|
+
"font": "inter-black",
|
|
381
|
+
"size": 0.12,
|
|
382
|
+
"depth": 0,
|
|
383
|
+
"position": [
|
|
384
|
+
0,
|
|
385
|
+
0,
|
|
386
|
+
0.08
|
|
387
|
+
],
|
|
388
|
+
"material": {
|
|
389
|
+
"type": "basic",
|
|
390
|
+
"color": "#ffffff"
|
|
391
|
+
},
|
|
392
|
+
"letterSpacing": 0.01
|
|
393
|
+
}
|
|
394
|
+
]
|
|
395
|
+
}
|
|
396
|
+
],
|
|
397
|
+
"timeline": {
|
|
398
|
+
"duration": 4,
|
|
399
|
+
"loop": false,
|
|
400
|
+
"autoplay": "intro",
|
|
401
|
+
"markers": {
|
|
402
|
+
"ready": 2.4,
|
|
403
|
+
"detail": 4
|
|
404
|
+
},
|
|
405
|
+
"segments": {
|
|
406
|
+
"intro": [
|
|
407
|
+
0,
|
|
408
|
+
"ready"
|
|
409
|
+
],
|
|
410
|
+
"detail": [
|
|
411
|
+
"ready",
|
|
412
|
+
"detail"
|
|
413
|
+
]
|
|
414
|
+
},
|
|
415
|
+
"tracks": [
|
|
416
|
+
{
|
|
417
|
+
"target": "rig.rotation.y",
|
|
418
|
+
"keys": [
|
|
419
|
+
[
|
|
420
|
+
0,
|
|
421
|
+
-320
|
|
422
|
+
],
|
|
423
|
+
[
|
|
424
|
+
2.2,
|
|
425
|
+
-28,
|
|
426
|
+
"outCubic"
|
|
427
|
+
],
|
|
428
|
+
[
|
|
429
|
+
2.4,
|
|
430
|
+
-28
|
|
431
|
+
],
|
|
432
|
+
[
|
|
433
|
+
4,
|
|
434
|
+
152,
|
|
435
|
+
"inOutCubic"
|
|
436
|
+
]
|
|
437
|
+
]
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"target": "rig.position.y",
|
|
441
|
+
"keys": [
|
|
442
|
+
[
|
|
443
|
+
0,
|
|
444
|
+
1.6
|
|
445
|
+
],
|
|
446
|
+
[
|
|
447
|
+
1.4,
|
|
448
|
+
-0.86,
|
|
449
|
+
"outBack"
|
|
450
|
+
]
|
|
451
|
+
]
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"target": "rig.rotation.z",
|
|
455
|
+
"keys": [
|
|
456
|
+
[
|
|
457
|
+
0,
|
|
458
|
+
0
|
|
459
|
+
],
|
|
460
|
+
[
|
|
461
|
+
2.4,
|
|
462
|
+
0
|
|
463
|
+
],
|
|
464
|
+
[
|
|
465
|
+
3.2,
|
|
466
|
+
9,
|
|
467
|
+
"inOutSine"
|
|
468
|
+
],
|
|
469
|
+
[
|
|
470
|
+
4,
|
|
471
|
+
0,
|
|
472
|
+
"inOutSine"
|
|
473
|
+
]
|
|
474
|
+
]
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"target": "title,tagline,price,cta.position.x",
|
|
478
|
+
"keys": [
|
|
479
|
+
[
|
|
480
|
+
2.4,
|
|
481
|
+
"+=0"
|
|
482
|
+
],
|
|
483
|
+
[
|
|
484
|
+
4,
|
|
485
|
+
"-=1.6",
|
|
486
|
+
"inOutCubic"
|
|
487
|
+
]
|
|
488
|
+
],
|
|
489
|
+
"stagger": 0
|
|
490
|
+
}
|
|
491
|
+
]
|
|
492
|
+
},
|
|
493
|
+
"interactions": [
|
|
494
|
+
{
|
|
495
|
+
"on": "click",
|
|
496
|
+
"target": "shoe",
|
|
497
|
+
"do": [
|
|
498
|
+
{
|
|
499
|
+
"toggle": "detail"
|
|
500
|
+
}
|
|
501
|
+
]
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"on": "click",
|
|
505
|
+
"target": "cta",
|
|
506
|
+
"do": [
|
|
507
|
+
{
|
|
508
|
+
"emit": "cta-click"
|
|
509
|
+
}
|
|
510
|
+
]
|
|
511
|
+
}
|
|
512
|
+
],
|
|
513
|
+
"postfx": [
|
|
514
|
+
{
|
|
515
|
+
"type": "look",
|
|
516
|
+
"preset": "product"
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"type": "vignette",
|
|
520
|
+
"darkness": 0.55
|
|
521
|
+
}
|
|
522
|
+
]
|
|
523
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "hero-sneaker-showcase",
|
|
3
|
+
"title": "Sneaker showcase hero",
|
|
4
|
+
"description": "E-commerce product hero: a real PBR sneaker spins onto a ceramic pedestal on a bold coral backdrop, with a data-bound title, tagline, price and Shop now button; click the shoe to glide the camera to a detail view.",
|
|
5
|
+
"kind": "hero",
|
|
6
|
+
"tags": [
|
|
7
|
+
"hero",
|
|
8
|
+
"product",
|
|
9
|
+
"ecommerce",
|
|
10
|
+
"sneaker",
|
|
11
|
+
"shoe",
|
|
12
|
+
"fashion",
|
|
13
|
+
"shop",
|
|
14
|
+
"price",
|
|
15
|
+
"cta",
|
|
16
|
+
"data-bindings",
|
|
17
|
+
"click",
|
|
18
|
+
"camera-move",
|
|
19
|
+
"studio",
|
|
20
|
+
"contact-shadows"
|
|
21
|
+
],
|
|
22
|
+
"aspect": "16:9"
|
|
23
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Space planet hero
|
|
2
|
+
|
|
3
|
+
A cinematic 21:9 hero: a low-poly ringed planet (`planet` generator, continents + ice caps + glowing atmosphere) spinning slowly on its axis, a small moon on a tilted orbit, side-lit by a strong sun so the night side falls into shadow, in front of a slow `nebula` shader backdrop (a large plane at z = -18) with a slab of twinkling `stars` particles, coloured nebula dust, a comet crossing on a path, bloom, a faint lens flare, a cinematic grade, vignette and fine grain. The camera breathes on a 12 s loop and drifts with the pointer. The left half is empty for an HTML headline.
|
|
4
|
+
|
|
5
|
+
## What to tweak
|
|
6
|
+
|
|
7
|
+
| Change | Where |
|
|
8
|
+
|---|---|
|
|
9
|
+
| Planet colours | `objects#planet.params.palette` (ocean, land, mountain, ice), `.landAmount` |
|
|
10
|
+
| Rings | `objects#planet.params.rings`, `.ringColor` |
|
|
11
|
+
| Atmosphere | `objects#planet.params.atmosphereColor` |
|
|
12
|
+
| Spin | `objects#planet.params.spin` (deg/s — use this, not a `rotate` behaviour, so the rings stay stable) |
|
|
13
|
+
| Axis tilt | `objects#planet.rotation` |
|
|
14
|
+
| Planet on the left | x of `objects#planet` and `objects#moonPivot` → `-3.4` |
|
|
15
|
+
| Nebula backdrop | `objects#nebulaSky.material.uniforms.colors` (dark → bright gas), `.scale`, `.speed`; dust tint `objects#nebula.color` |
|
|
16
|
+
| Stars | `objects#stars.count` / `.size` (a slab in front of the backdrop: a `starfield` generator around the camera would be hidden by the backdrop plane) |
|
|
17
|
+
| Sunlight | `lights#sun.position` (behind = thin crescent, in front = full disc) / `.color` / `.intensity` |
|
|
Binary file
|