@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,225 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"id": "hero-product-turntable",
|
|
4
|
+
"title": "Product turntable hero",
|
|
5
|
+
"ariaLabel": "A retro boombox turning slowly on a studio pedestal",
|
|
6
|
+
"seed": 1,
|
|
7
|
+
"target": {
|
|
8
|
+
"kind": "hero",
|
|
9
|
+
"aspect": "16:9",
|
|
10
|
+
"budgetKb": 1200,
|
|
11
|
+
"reducedMotion": "static",
|
|
12
|
+
"posterTime": 0,
|
|
13
|
+
"maxDpr": 2,
|
|
14
|
+
"toneMapping": "neutral",
|
|
15
|
+
"exposure": 1
|
|
16
|
+
},
|
|
17
|
+
"camera": {
|
|
18
|
+
"type": "perspective",
|
|
19
|
+
"fov": 32,
|
|
20
|
+
"position": [
|
|
21
|
+
0,
|
|
22
|
+
1.6,
|
|
23
|
+
6.2
|
|
24
|
+
],
|
|
25
|
+
"target": [
|
|
26
|
+
0,
|
|
27
|
+
0.75,
|
|
28
|
+
0
|
|
29
|
+
],
|
|
30
|
+
"controls": "orbit",
|
|
31
|
+
"autoRotate": 12,
|
|
32
|
+
"orbitZoom": false,
|
|
33
|
+
"orbitLimits": {
|
|
34
|
+
"minPolar": 55,
|
|
35
|
+
"maxPolar": 88
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"environment": {
|
|
39
|
+
"background": {
|
|
40
|
+
"radial": [
|
|
41
|
+
"#f6e7d8",
|
|
42
|
+
"#cdb6a3"
|
|
43
|
+
],
|
|
44
|
+
"center": [
|
|
45
|
+
0.5,
|
|
46
|
+
0.62
|
|
47
|
+
],
|
|
48
|
+
"radius": 0.9,
|
|
49
|
+
"grain": 0.02
|
|
50
|
+
},
|
|
51
|
+
"lighting": {
|
|
52
|
+
"hdri": "library:hdri/studio.hdr",
|
|
53
|
+
"intensity": 1
|
|
54
|
+
},
|
|
55
|
+
"rig": {
|
|
56
|
+
"preset": "softbox",
|
|
57
|
+
"intensity": 1.0
|
|
58
|
+
},
|
|
59
|
+
"contactShadows": {
|
|
60
|
+
"opacity": 0.65,
|
|
61
|
+
"blur": 2.2,
|
|
62
|
+
"y": 0.411,
|
|
63
|
+
"size": 3.2,
|
|
64
|
+
"color": "#3b2416"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"lights": [
|
|
68
|
+
{
|
|
69
|
+
"id": "rim",
|
|
70
|
+
"type": "directional",
|
|
71
|
+
"position": [
|
|
72
|
+
-3,
|
|
73
|
+
4,
|
|
74
|
+
-5
|
|
75
|
+
],
|
|
76
|
+
"color": "#ffd9b0",
|
|
77
|
+
"intensity": 1.6
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"objects": [
|
|
81
|
+
{
|
|
82
|
+
"id": "plinth",
|
|
83
|
+
"kind": "mesh",
|
|
84
|
+
"geometry": {
|
|
85
|
+
"type": "cylinder",
|
|
86
|
+
"radiusTop": 1.75,
|
|
87
|
+
"radiusBottom": 1.8,
|
|
88
|
+
"height": 0.06,
|
|
89
|
+
"segments": 96
|
|
90
|
+
},
|
|
91
|
+
"position": [
|
|
92
|
+
0,
|
|
93
|
+
0.03,
|
|
94
|
+
0
|
|
95
|
+
],
|
|
96
|
+
"material": {
|
|
97
|
+
"type": "physical",
|
|
98
|
+
"color": "#b9876a",
|
|
99
|
+
"roughness": 0.75,
|
|
100
|
+
"clearcoat": 0
|
|
101
|
+
},
|
|
102
|
+
"receiveShadow": true
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"id": "pedestal",
|
|
106
|
+
"kind": "mesh",
|
|
107
|
+
"geometry": {
|
|
108
|
+
"type": "cylinder",
|
|
109
|
+
"radiusTop": 1.45,
|
|
110
|
+
"radiusBottom": 1.5,
|
|
111
|
+
"height": 0.35,
|
|
112
|
+
"segments": 96
|
|
113
|
+
},
|
|
114
|
+
"position": [
|
|
115
|
+
0,
|
|
116
|
+
0.235,
|
|
117
|
+
0
|
|
118
|
+
],
|
|
119
|
+
"material": {
|
|
120
|
+
"preset": "terrazzo",
|
|
121
|
+
"color": "#fff7ef",
|
|
122
|
+
"map": {
|
|
123
|
+
"procedural": "terrazzo",
|
|
124
|
+
"colors": [
|
|
125
|
+
"#f1e8de",
|
|
126
|
+
"#c9694d",
|
|
127
|
+
"#3f6f63",
|
|
128
|
+
"#d9a441",
|
|
129
|
+
"#8a8079"
|
|
130
|
+
],
|
|
131
|
+
"chipSize": 0.45,
|
|
132
|
+
"density": 0.55,
|
|
133
|
+
"scale": 2,
|
|
134
|
+
"resolution": 1024
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"castShadow": true,
|
|
138
|
+
"receiveShadow": true
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"id": "pedestalRim",
|
|
142
|
+
"kind": "mesh",
|
|
143
|
+
"geometry": {
|
|
144
|
+
"type": "torus",
|
|
145
|
+
"radius": 1.47,
|
|
146
|
+
"tube": 0.018,
|
|
147
|
+
"radialSegments": 8,
|
|
148
|
+
"tubularSegments": 160
|
|
149
|
+
},
|
|
150
|
+
"position": [
|
|
151
|
+
0,
|
|
152
|
+
0.41,
|
|
153
|
+
0
|
|
154
|
+
],
|
|
155
|
+
"rotation": [
|
|
156
|
+
90,
|
|
157
|
+
0,
|
|
158
|
+
0
|
|
159
|
+
],
|
|
160
|
+
"material": {
|
|
161
|
+
"preset": "gold",
|
|
162
|
+
"roughness": 0.25
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"id": "product",
|
|
167
|
+
"kind": "model",
|
|
168
|
+
"src": "library:models/products/boombox.glb",
|
|
169
|
+
"fit": 1.9,
|
|
170
|
+
"position": [
|
|
171
|
+
0,
|
|
172
|
+
0.41,
|
|
173
|
+
0
|
|
174
|
+
],
|
|
175
|
+
"rotation": [
|
|
176
|
+
0,
|
|
177
|
+
-20,
|
|
178
|
+
0
|
|
179
|
+
],
|
|
180
|
+
"castShadow": true,
|
|
181
|
+
"receiveShadow": true,
|
|
182
|
+
"behaviours": [
|
|
183
|
+
{
|
|
184
|
+
"type": "hoverLift",
|
|
185
|
+
"height": 0.08,
|
|
186
|
+
"tilt": 4
|
|
187
|
+
}
|
|
188
|
+
]
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
"timeline": {
|
|
192
|
+
"duration": 15,
|
|
193
|
+
"loop": true,
|
|
194
|
+
"tracks": [
|
|
195
|
+
{
|
|
196
|
+
"target": "product.position.y",
|
|
197
|
+
"keys": [
|
|
198
|
+
[
|
|
199
|
+
0,
|
|
200
|
+
0.41
|
|
201
|
+
],
|
|
202
|
+
[
|
|
203
|
+
7.5,
|
|
204
|
+
0.48
|
|
205
|
+
],
|
|
206
|
+
[
|
|
207
|
+
15,
|
|
208
|
+
0.41
|
|
209
|
+
]
|
|
210
|
+
],
|
|
211
|
+
"ease": "inOutSine"
|
|
212
|
+
}
|
|
213
|
+
]
|
|
214
|
+
},
|
|
215
|
+
"postfx": [
|
|
216
|
+
{
|
|
217
|
+
"type": "look",
|
|
218
|
+
"preset": "product"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"type": "vignette",
|
|
222
|
+
"darkness": 0.6
|
|
223
|
+
}
|
|
224
|
+
]
|
|
225
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "hero-product-turntable",
|
|
3
|
+
"title": "Product turntable hero",
|
|
4
|
+
"description": "Studio product hero: a realistic PBR boombox slowly turning on a terrazzo pedestal with a gold rim, softbox light rig, studio HDRI reflections, soft contact shadow, product look and drag-to-orbit.",
|
|
5
|
+
"kind": "hero",
|
|
6
|
+
"tags": [
|
|
7
|
+
"hero",
|
|
8
|
+
"product",
|
|
9
|
+
"ecommerce",
|
|
10
|
+
"turntable",
|
|
11
|
+
"orbit",
|
|
12
|
+
"studio",
|
|
13
|
+
"pedestal",
|
|
14
|
+
"terrazzo",
|
|
15
|
+
"pbr",
|
|
16
|
+
"model",
|
|
17
|
+
"showcase",
|
|
18
|
+
"contact-shadows"
|
|
19
|
+
],
|
|
20
|
+
"aspect": "16:9"
|
|
21
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# SaaS globe hero
|
|
2
|
+
|
|
3
|
+
A 16:9 dark hero for SaaS, fintech and network products: the `globe` generator (dot-matrix continents, fresnel atmosphere, pulsing markers, great-circle arcs with travelling light pulses) sits on the right third of a deep-navy radial backdrop with a faint orbit ring and stars. The camera is offset to the left, so the **left half stays empty for the page's HTML headline and buttons** (place them over the canvas). Pointer parallax, bloom, a cool grade and supersampled stills. Zero asset bytes.
|
|
4
|
+
|
|
5
|
+
## What to tweak
|
|
6
|
+
|
|
7
|
+
| Change | Where |
|
|
8
|
+
|---|---|
|
|
9
|
+
| Cities and connections | `objects#globe.params.arcs` (`{ "from": [lat, lon], "to": [lat, lon] }`) — or `params.points` for markers only |
|
|
10
|
+
| Palette | `params.dotColor` (land), `arcColor`, `markerColor`, `atmosphereColor`, `baseColor`; backdrop `environment.background.radial` |
|
|
11
|
+
| Which side of the world faces the viewer | `params.longitude` (degrees at t = 0), `params.spin` (deg/s), `params.tilt` |
|
|
12
|
+
| Globe on the other side | flip the sign of `camera.position[0]` and `camera.target[0]` (and `background.center[0]` → 0.3) |
|
|
13
|
+
| Glow | `postfx[0]` (bloom) |
|
|
14
|
+
| Text in 3D instead of HTML | add a `text` object around x = −5 |
|
|
15
|
+
|
|
16
|
+
Reduced motion shows the frame at 2 s (after the globe's entrance).
|
|
Binary file
|
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"id": "hero-saas-globe",
|
|
4
|
+
"title": "Global network hero",
|
|
5
|
+
"ariaLabel": "A glowing dotted globe slowly turning, with light arcs travelling between cities around the world",
|
|
6
|
+
"seed": 11,
|
|
7
|
+
"target": {
|
|
8
|
+
"kind": "hero",
|
|
9
|
+
"aspect": "16:9",
|
|
10
|
+
"budgetKb": 400,
|
|
11
|
+
"reducedMotion": "static",
|
|
12
|
+
"posterTime": 2,
|
|
13
|
+
"maxDpr": 2,
|
|
14
|
+
"exposure": 1
|
|
15
|
+
},
|
|
16
|
+
"camera": {
|
|
17
|
+
"type": "perspective",
|
|
18
|
+
"fov": 30,
|
|
19
|
+
"position": [
|
|
20
|
+
-2.5,
|
|
21
|
+
0.4,
|
|
22
|
+
12.5
|
|
23
|
+
],
|
|
24
|
+
"target": [
|
|
25
|
+
-2.5,
|
|
26
|
+
0.1,
|
|
27
|
+
0
|
|
28
|
+
],
|
|
29
|
+
"controls": "parallax",
|
|
30
|
+
"parallax": {
|
|
31
|
+
"strength": 0.35,
|
|
32
|
+
"smoothing": 0.94
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"environment": {
|
|
36
|
+
"background": {
|
|
37
|
+
"radial": [
|
|
38
|
+
"#101a3d",
|
|
39
|
+
"#03050f"
|
|
40
|
+
],
|
|
41
|
+
"center": [
|
|
42
|
+
0.7,
|
|
43
|
+
0.5
|
|
44
|
+
],
|
|
45
|
+
"radius": 0.75,
|
|
46
|
+
"grain": 0.02
|
|
47
|
+
},
|
|
48
|
+
"lighting": "night",
|
|
49
|
+
"lightingIntensity": 0.6
|
|
50
|
+
},
|
|
51
|
+
"lights": [
|
|
52
|
+
{
|
|
53
|
+
"id": "rim",
|
|
54
|
+
"type": "directional",
|
|
55
|
+
"position": [
|
|
56
|
+
-4,
|
|
57
|
+
3,
|
|
58
|
+
-4
|
|
59
|
+
],
|
|
60
|
+
"color": "#7c9cff",
|
|
61
|
+
"intensity": 1.5
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"id": "key",
|
|
65
|
+
"type": "directional",
|
|
66
|
+
"position": [
|
|
67
|
+
3,
|
|
68
|
+
2,
|
|
69
|
+
6
|
|
70
|
+
],
|
|
71
|
+
"color": "#ffffff",
|
|
72
|
+
"intensity": 0.4
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"objects": [
|
|
76
|
+
{
|
|
77
|
+
"id": "globe",
|
|
78
|
+
"kind": "generator",
|
|
79
|
+
"generator": "globe",
|
|
80
|
+
"position": [
|
|
81
|
+
0,
|
|
82
|
+
-0.35,
|
|
83
|
+
0
|
|
84
|
+
],
|
|
85
|
+
"params": {
|
|
86
|
+
"radius": 2.3,
|
|
87
|
+
"dots": 32000,
|
|
88
|
+
"dotColor": "#6f8fe8",
|
|
89
|
+
"oceanDotColor": "#0f1a3a",
|
|
90
|
+
"baseColor": "#060b1f",
|
|
91
|
+
"dotSize": 0.75,
|
|
92
|
+
"arcColor": "#f0abfc",
|
|
93
|
+
"arcSpeed": 0.8,
|
|
94
|
+
"arcWidth": 1.5,
|
|
95
|
+
"markerColor": "#fdf4ff",
|
|
96
|
+
"markerSize": 1,
|
|
97
|
+
"atmosphereColor": "#5b7cfa",
|
|
98
|
+
"spin": 3,
|
|
99
|
+
"longitude": 0,
|
|
100
|
+
"tilt": 18,
|
|
101
|
+
"arcs": [
|
|
102
|
+
{
|
|
103
|
+
"from": [
|
|
104
|
+
37.77,
|
|
105
|
+
-122.42
|
|
106
|
+
],
|
|
107
|
+
"to": [
|
|
108
|
+
51.51,
|
|
109
|
+
-0.13
|
|
110
|
+
]
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"from": [
|
|
114
|
+
40.71,
|
|
115
|
+
-74.0
|
|
116
|
+
],
|
|
117
|
+
"to": [
|
|
118
|
+
48.86,
|
|
119
|
+
2.35
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"from": [
|
|
124
|
+
51.51,
|
|
125
|
+
-0.13
|
|
126
|
+
],
|
|
127
|
+
"to": [
|
|
128
|
+
1.35,
|
|
129
|
+
103.82
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"from": [
|
|
134
|
+
48.86,
|
|
135
|
+
2.35
|
|
136
|
+
],
|
|
137
|
+
"to": [
|
|
138
|
+
25.2,
|
|
139
|
+
55.27
|
|
140
|
+
]
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"from": [
|
|
144
|
+
35.68,
|
|
145
|
+
139.69
|
|
146
|
+
],
|
|
147
|
+
"to": [
|
|
148
|
+
37.77,
|
|
149
|
+
-122.42
|
|
150
|
+
]
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"from": [
|
|
154
|
+
-23.55,
|
|
155
|
+
-46.63
|
|
156
|
+
],
|
|
157
|
+
"to": [
|
|
158
|
+
40.71,
|
|
159
|
+
-74.0
|
|
160
|
+
]
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"from": [
|
|
164
|
+
1.35,
|
|
165
|
+
103.82
|
|
166
|
+
],
|
|
167
|
+
"to": [
|
|
168
|
+
-33.87,
|
|
169
|
+
151.21
|
|
170
|
+
]
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"from": [
|
|
174
|
+
52.52,
|
|
175
|
+
13.4
|
|
176
|
+
],
|
|
177
|
+
"to": [
|
|
178
|
+
19.08,
|
|
179
|
+
72.88
|
|
180
|
+
]
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"from": [
|
|
184
|
+
6.52,
|
|
185
|
+
3.38
|
|
186
|
+
],
|
|
187
|
+
"to": [
|
|
188
|
+
48.86,
|
|
189
|
+
2.35
|
|
190
|
+
]
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"from": [
|
|
194
|
+
-33.92,
|
|
195
|
+
18.42
|
|
196
|
+
],
|
|
197
|
+
"to": [
|
|
198
|
+
51.51,
|
|
199
|
+
-0.13
|
|
200
|
+
]
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"from": [
|
|
204
|
+
-23.55,
|
|
205
|
+
-46.63
|
|
206
|
+
],
|
|
207
|
+
"to": [
|
|
208
|
+
-33.92,
|
|
209
|
+
18.42
|
|
210
|
+
]
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"from": [
|
|
214
|
+
19.43,
|
|
215
|
+
-99.13
|
|
216
|
+
],
|
|
217
|
+
"to": [
|
|
218
|
+
-12.05,
|
|
219
|
+
-77.04
|
|
220
|
+
]
|
|
221
|
+
}
|
|
222
|
+
]
|
|
223
|
+
},
|
|
224
|
+
"behaviours": [
|
|
225
|
+
{
|
|
226
|
+
"type": "appear",
|
|
227
|
+
"effect": "scale",
|
|
228
|
+
"duration": 1.4,
|
|
229
|
+
"ease": "outCubic"
|
|
230
|
+
}
|
|
231
|
+
]
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"id": "ring",
|
|
235
|
+
"kind": "mesh",
|
|
236
|
+
"geometry": {
|
|
237
|
+
"type": "torus",
|
|
238
|
+
"radius": 3.3,
|
|
239
|
+
"tube": 0.006,
|
|
240
|
+
"radialSegments": 6,
|
|
241
|
+
"tubularSegments": 200
|
|
242
|
+
},
|
|
243
|
+
"position": [
|
|
244
|
+
0,
|
|
245
|
+
-0.35,
|
|
246
|
+
0
|
|
247
|
+
],
|
|
248
|
+
"rotation": [
|
|
249
|
+
74,
|
|
250
|
+
0,
|
|
251
|
+
-14
|
|
252
|
+
],
|
|
253
|
+
"material": {
|
|
254
|
+
"type": "basic",
|
|
255
|
+
"color": "#6d8bff",
|
|
256
|
+
"opacity": 0.22,
|
|
257
|
+
"transparent": true
|
|
258
|
+
},
|
|
259
|
+
"behaviours": [
|
|
260
|
+
{
|
|
261
|
+
"type": "rotate",
|
|
262
|
+
"axis": [
|
|
263
|
+
0,
|
|
264
|
+
0,
|
|
265
|
+
1
|
|
266
|
+
],
|
|
267
|
+
"speed": 4
|
|
268
|
+
}
|
|
269
|
+
]
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"id": "stars",
|
|
273
|
+
"kind": "particles",
|
|
274
|
+
"preset": "stars",
|
|
275
|
+
"count": 260,
|
|
276
|
+
"area": [
|
|
277
|
+
26,
|
|
278
|
+
14,
|
|
279
|
+
10
|
|
280
|
+
],
|
|
281
|
+
"position": [
|
|
282
|
+
0,
|
|
283
|
+
0,
|
|
284
|
+
-8
|
|
285
|
+
],
|
|
286
|
+
"color": [
|
|
287
|
+
"#ffffff",
|
|
288
|
+
"#a5b4fc"
|
|
289
|
+
],
|
|
290
|
+
"size": 0.035,
|
|
291
|
+
"opacity": 0.7
|
|
292
|
+
}
|
|
293
|
+
],
|
|
294
|
+
"postfx": [
|
|
295
|
+
{
|
|
296
|
+
"type": "bloom",
|
|
297
|
+
"strength": 0.65,
|
|
298
|
+
"radius": 0.6,
|
|
299
|
+
"threshold": 0.65,
|
|
300
|
+
"smoothing": 0.3
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"type": "grading",
|
|
304
|
+
"look": "cool",
|
|
305
|
+
"intensity": 0.5,
|
|
306
|
+
"contrast": 1.08
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"type": "vignette",
|
|
310
|
+
"offset": 1,
|
|
311
|
+
"darkness": 0.8
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"type": "taa",
|
|
315
|
+
"samples": 8
|
|
316
|
+
}
|
|
317
|
+
]
|
|
318
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "hero-saas-globe",
|
|
3
|
+
"title": "SaaS globe hero",
|
|
4
|
+
"description": "Dark premium SaaS / network hero: a dotted-continent globe with a blue atmosphere slowly turning on the right, glowing arcs with light pulses travelling between world cities, faint orbit ring and stars; the left half stays empty for your HTML headline.",
|
|
5
|
+
"kind": "hero",
|
|
6
|
+
"tags": [
|
|
7
|
+
"hero",
|
|
8
|
+
"saas",
|
|
9
|
+
"globe",
|
|
10
|
+
"network",
|
|
11
|
+
"world",
|
|
12
|
+
"global",
|
|
13
|
+
"arcs",
|
|
14
|
+
"cities",
|
|
15
|
+
"data",
|
|
16
|
+
"tech",
|
|
17
|
+
"startup",
|
|
18
|
+
"dark",
|
|
19
|
+
"bloom",
|
|
20
|
+
"parallax",
|
|
21
|
+
"html-headline"
|
|
22
|
+
],
|
|
23
|
+
"aspect": "16:9"
|
|
24
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Scroll story hero
|
|
2
|
+
|
|
3
|
+
A 16:9 scroll-driven story. The timeline uses `trigger: "scroll"`: its time follows the scroll progress of the embed through the viewport (0 when it enters at the bottom, 1 when it leaves at the top). The camera glides across three chapters laid out along X; each chapter title (Inter Black, `splitLetters`) pops in letter by letter with a staggered `children:<id>.scale` track as its chapter arrives, the knot turns with the scroll, and markers `design` / `build` / `launch` emit events (`agent3d:event` on the element) your page can listen to. Scroll smoothing 0.85, pastel / jelly / chrome-gradient finishes, soft contact shadows, `clean` look + light AO.
|
|
4
|
+
|
|
5
|
+
| Scroll | Chapter | Objects |
|
|
6
|
+
|---|---|---|
|
|
7
|
+
| 0–20 % | **Design** (x = 0) | stacked rounded blocks `design` + titles `t1` / `s1` |
|
|
8
|
+
| 40–60 % | **Build** (x = 14) | brushed-metal torus knot `build` + `t2` / `s2` |
|
|
9
|
+
| 80–100 % | **Launch** (x = 28) | library lander `rocket` on `launchPad` (takes off at the end), embers + `t3` / `s3` |
|
|
10
|
+
|
|
11
|
+
## Page setup
|
|
12
|
+
|
|
13
|
+
To let the visitor scroll through the whole story while the scene stays on screen, put the embed in a tall wrapper with a sticky child, e.g. `<section style="height:300vh"><div style="position:sticky;top:0"><agent3d-scene …></agent3d-scene></div></section>`. Without a wrapper, the story plays while the hero scrolls past.
|
|
14
|
+
|
|
15
|
+
## What to tweak
|
|
16
|
+
|
|
17
|
+
| Change | Where |
|
|
18
|
+
|---|---|
|
|
19
|
+
| Chapter titles | `objects#t1/t2/t3.text` (entrances: tracks `children:t2.scale`, `children:t3.scale`), subtitles `objects#s1/s2/s3.text`, colours in `.material.color` |
|
|
20
|
+
| Chapter objects | replace `design`, `build`, `rocket` (keep their x ≈ chapter x + 1.6) |
|
|
21
|
+
| Page hooks | `timeline.markers` (seconds → event names) |
|
|
22
|
+
| Pacing | `timeline.tracks` `camera.position` / `camera.target` keys (hold = two keys with the same value) |
|
|
23
|
+
| Add a chapter | add objects at x = 42, extend `timeline.duration` and the camera keys |
|
|
24
|
+
| Colours | `environment.background`, `environment.fog.color`, `objects#floor.material.color` |
|
|
25
|
+
|
|
26
|
+
Reduced motion: the scene stays on chapter 1 (`posterTime` 0).
|
|
Binary file
|