@fleox/agent3d 0.0.0-stage → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +143 -0
- package/README.md +172 -2
- package/changelog.json +56 -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-CaKRRzMX.mjs +177 -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-BpDU9Lsq.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-Ck7_Nszg.mjs +75 -0
- package/dist/agent/chunks/png-DXfSGJZt.mjs +91 -0
- package/dist/agent/chunks/render-Cbuhz5uW.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-Re3wQkXp.js +1 -0
- package/dist/runtime/chunks/EXRLoader-Bzm84si5.js +1 -0
- package/dist/runtime/chunks/FontLoader-BocwqK8V.js +2 -0
- package/dist/runtime/chunks/GLTFLoader-DHp1wv6J.js +1 -0
- package/dist/runtime/chunks/GroundedSkybox-esvlRCO0.js +1 -0
- package/dist/runtime/chunks/HDRLoader-DHrHp8fs.js +5 -0
- package/dist/runtime/chunks/OrbitControls-sjN2MF0e.js +1 -0
- package/dist/runtime/chunks/RectAreaLightUniformsLib-_mZ62yWn.js +1 -0
- package/dist/runtime/chunks/RoomEnvironment-CL4UR6ZW.js +1 -0
- package/dist/runtime/chunks/RoundedBoxGeometry-x-ot8ZSh.js +1 -0
- package/dist/runtime/chunks/SVGLoader-hRF0EwD-.js +1 -0
- package/dist/runtime/chunks/SkeletonUtils-DHlReJx3.js +1 -0
- package/dist/runtime/chunks/Sky-BrLN9Fk5.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-m04mghOS.js +1 -0
- package/dist/runtime/chunks/game-BoG2S6g4.js +20 -0
- package/dist/runtime/chunks/generators-OHhFCc2E.js +331 -0
- package/dist/runtime/chunks/materials-C2uffFEd.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-D-4xZz21.js +1 -0
- package/dist/runtime/chunks/params-DdApDOBw.js +1 -0
- package/dist/runtime/chunks/physicsHost-DPaVdM0R.js +1 -0
- package/dist/runtime/chunks/postfx-BpBXjLX3.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-CmeJRio1.js +443 -0
- package/dist/runtime/chunks/svg-B3nZaQFD.js +1 -0
- package/dist/runtime/chunks/text-CmkU-b0C.js +2 -0
- package/dist/runtime/chunks/three.module-W4hp4qHb.js +4225 -0
- package/dist/runtime/chunks/toon-B5Jhf37V.js +6 -0
- package/dist/runtime/chunks/util-THUewKBk.js +1 -0
- package/dist/studio/assets/BufferGeometryUtils-wW9vV1l2.js +1 -0
- package/dist/studio/assets/EXRLoader-f8U8jnlr.js +1 -0
- package/dist/studio/assets/FontLoader-9sHudKzD.js +2 -0
- package/dist/studio/assets/GLTFLoader-C3C_3K62.js +1 -0
- package/dist/studio/assets/GroundedSkybox-BTqmv4fv.js +1 -0
- package/dist/studio/assets/HDRLoader-CkQyrTWY.js +5 -0
- package/dist/studio/assets/OrbitControls-fcOgB96a.js +1 -0
- package/dist/studio/assets/RectAreaLightUniformsLib-CZHWO9xf.js +1 -0
- package/dist/studio/assets/RoomEnvironment-BsISzuCp.js +1 -0
- package/dist/studio/assets/SVGLoader-BIkQDT66.js +1 -0
- package/dist/studio/assets/SkeletonUtils-CG5akqME.js +1 -0
- package/dist/studio/assets/Sky-C282PFL1.js +243 -0
- package/dist/studio/assets/audio-JD1kyX0A.js +1 -0
- package/dist/studio/assets/camera-BhKdE9ej.js +2 -0
- package/dist/studio/assets/editor-BgY_RoRd.js +1 -0
- package/dist/studio/assets/extrude-CnayHczh.js +1 -0
- package/dist/studio/assets/game-Dv5s4eMN.js +19 -0
- package/dist/studio/assets/generators-DVX3bAxe.js +331 -0
- package/dist/studio/assets/index-BQT0otii.css +1 -0
- package/dist/studio/assets/index-Dh-2Y34U.js +479 -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-XZSP52pV.js +2 -0
- package/dist/studio/assets/physicsHost-C84FddIe.js +1 -0
- package/dist/studio/assets/postfx-BWWXb8i8.js +1527 -0
- package/dist/studio/assets/runtime-k_MFerbJ.js +572 -0
- package/dist/studio/assets/shaders-BEznGIct.js +443 -0
- package/dist/studio/assets/svg-DT8kx37i.js +2 -0
- package/dist/studio/assets/text-5DsJJHcj.js +3 -0
- package/dist/studio/assets/three.module-ByMn_ZTv.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,512 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"id": "character-mascot-hero",
|
|
4
|
+
"title": "Mascot hero",
|
|
5
|
+
"ariaLabel": "A friendly fox mascot waving next to a speech bubble; it follows the pointer with its eyes and celebrates when clicked",
|
|
6
|
+
"seed": 3,
|
|
7
|
+
"data": {
|
|
8
|
+
"greeting": "Hi, I'm Pixel!",
|
|
9
|
+
"cheer": "Yay! Let's go!"
|
|
10
|
+
},
|
|
11
|
+
"target": {
|
|
12
|
+
"kind": "hero",
|
|
13
|
+
"aspect": "16:9",
|
|
14
|
+
"reducedMotion": "static",
|
|
15
|
+
"posterTime": 1.5,
|
|
16
|
+
"maxDpr": 2,
|
|
17
|
+
"exposure": 0.95
|
|
18
|
+
},
|
|
19
|
+
"camera": {
|
|
20
|
+
"type": "perspective",
|
|
21
|
+
"fov": 30,
|
|
22
|
+
"position": [
|
|
23
|
+
0,
|
|
24
|
+
1.6,
|
|
25
|
+
9.5
|
|
26
|
+
],
|
|
27
|
+
"target": [
|
|
28
|
+
0,
|
|
29
|
+
1.25,
|
|
30
|
+
0
|
|
31
|
+
],
|
|
32
|
+
"controls": "none"
|
|
33
|
+
},
|
|
34
|
+
"environment": {
|
|
35
|
+
"background": {
|
|
36
|
+
"meshGradient": [
|
|
37
|
+
"#ffd7b0",
|
|
38
|
+
"#ffb98f",
|
|
39
|
+
"#ffc2d4",
|
|
40
|
+
"#ffe6c9"
|
|
41
|
+
],
|
|
42
|
+
"speed": 0.08,
|
|
43
|
+
"scale": 1.1,
|
|
44
|
+
"grain": 0.03
|
|
45
|
+
},
|
|
46
|
+
"lighting": "studio",
|
|
47
|
+
"lightingIntensity": 0.45,
|
|
48
|
+
"rig": {
|
|
49
|
+
"preset": "softbox",
|
|
50
|
+
"intensity": 0.75
|
|
51
|
+
},
|
|
52
|
+
"contactShadows": {
|
|
53
|
+
"opacity": 0.45,
|
|
54
|
+
"blur": 2.8
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"lights": [
|
|
58
|
+
{
|
|
59
|
+
"id": "rim",
|
|
60
|
+
"type": "directional",
|
|
61
|
+
"position": [
|
|
62
|
+
-4,
|
|
63
|
+
4,
|
|
64
|
+
-5
|
|
65
|
+
],
|
|
66
|
+
"color": "#ffd2a8",
|
|
67
|
+
"intensity": 1.6
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"objects": [
|
|
71
|
+
{
|
|
72
|
+
"id": "disc",
|
|
73
|
+
"kind": "mesh",
|
|
74
|
+
"geometry": {
|
|
75
|
+
"type": "cylinder",
|
|
76
|
+
"radiusTop": 1.5,
|
|
77
|
+
"radiusBottom": 1.55,
|
|
78
|
+
"height": 0.22,
|
|
79
|
+
"segments": 64
|
|
80
|
+
},
|
|
81
|
+
"position": [
|
|
82
|
+
2.4,
|
|
83
|
+
0.11,
|
|
84
|
+
0
|
|
85
|
+
],
|
|
86
|
+
"material": {
|
|
87
|
+
"preset": "mattePastel",
|
|
88
|
+
"color": "#ffb48a"
|
|
89
|
+
},
|
|
90
|
+
"receiveShadow": true
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "mascot",
|
|
94
|
+
"kind": "group",
|
|
95
|
+
"position": [
|
|
96
|
+
2.4,
|
|
97
|
+
0.22,
|
|
98
|
+
0
|
|
99
|
+
],
|
|
100
|
+
"rotation": [
|
|
101
|
+
0,
|
|
102
|
+
-14,
|
|
103
|
+
0
|
|
104
|
+
],
|
|
105
|
+
"children": [
|
|
106
|
+
{
|
|
107
|
+
"id": "foxWave",
|
|
108
|
+
"kind": "generator",
|
|
109
|
+
"generator": "character",
|
|
110
|
+
"params": {
|
|
111
|
+
"style": "fox",
|
|
112
|
+
"animation": "wave",
|
|
113
|
+
"expression": "happy",
|
|
114
|
+
"height": 2.3,
|
|
115
|
+
"eyesFollowPointer": true
|
|
116
|
+
},
|
|
117
|
+
"castShadow": true
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"id": "foxParty",
|
|
121
|
+
"kind": "generator",
|
|
122
|
+
"generator": "character",
|
|
123
|
+
"visible": false,
|
|
124
|
+
"params": {
|
|
125
|
+
"style": "fox",
|
|
126
|
+
"animation": "celebrate",
|
|
127
|
+
"expression": "laugh",
|
|
128
|
+
"height": 2.3,
|
|
129
|
+
"eyesFollowPointer": true
|
|
130
|
+
},
|
|
131
|
+
"castShadow": true
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"id": "bubble",
|
|
137
|
+
"kind": "group",
|
|
138
|
+
"position": [
|
|
139
|
+
0.15,
|
|
140
|
+
2.6,
|
|
141
|
+
0.2
|
|
142
|
+
],
|
|
143
|
+
"behaviours": [
|
|
144
|
+
{
|
|
145
|
+
"type": "float",
|
|
146
|
+
"amplitude": 0.06,
|
|
147
|
+
"speed": 0.35
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"type": "appear",
|
|
151
|
+
"effect": "scale",
|
|
152
|
+
"duration": 0.7,
|
|
153
|
+
"delay": 0.4
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"children": [
|
|
157
|
+
{
|
|
158
|
+
"id": "bubbleBody",
|
|
159
|
+
"kind": "mesh",
|
|
160
|
+
"geometry": {
|
|
161
|
+
"type": "roundedBox",
|
|
162
|
+
"width": 2.7,
|
|
163
|
+
"height": 0.85,
|
|
164
|
+
"depth": 0.18,
|
|
165
|
+
"radius": 0.09
|
|
166
|
+
},
|
|
167
|
+
"material": {
|
|
168
|
+
"preset": "mattePastel",
|
|
169
|
+
"color": "#fffaf4"
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"id": "bubbleTail",
|
|
174
|
+
"kind": "mesh",
|
|
175
|
+
"geometry": {
|
|
176
|
+
"type": "cone",
|
|
177
|
+
"radius": 0.2,
|
|
178
|
+
"height": 0.5,
|
|
179
|
+
"segments": 16
|
|
180
|
+
},
|
|
181
|
+
"position": [
|
|
182
|
+
0.95,
|
|
183
|
+
-0.5,
|
|
184
|
+
0
|
|
185
|
+
],
|
|
186
|
+
"rotation": [
|
|
187
|
+
0,
|
|
188
|
+
0,
|
|
189
|
+
-150
|
|
190
|
+
],
|
|
191
|
+
"material": {
|
|
192
|
+
"preset": "mattePastel",
|
|
193
|
+
"color": "#fffaf4"
|
|
194
|
+
},
|
|
195
|
+
"scale": [
|
|
196
|
+
1,
|
|
197
|
+
1,
|
|
198
|
+
0.35
|
|
199
|
+
]
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"id": "hello",
|
|
203
|
+
"kind": "text",
|
|
204
|
+
"text": "{data.greeting}",
|
|
205
|
+
"font": "display",
|
|
206
|
+
"size": 0.3,
|
|
207
|
+
"depth": 0.04,
|
|
208
|
+
"position": [
|
|
209
|
+
0,
|
|
210
|
+
-0.02,
|
|
211
|
+
0.12
|
|
212
|
+
],
|
|
213
|
+
"material": {
|
|
214
|
+
"color": "#2d1f47",
|
|
215
|
+
"roughness": 0.7
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"id": "cheer",
|
|
220
|
+
"kind": "text",
|
|
221
|
+
"text": "{data.cheer}",
|
|
222
|
+
"font": "display",
|
|
223
|
+
"size": 0.3,
|
|
224
|
+
"depth": 0.04,
|
|
225
|
+
"position": [
|
|
226
|
+
0,
|
|
227
|
+
-0.02,
|
|
228
|
+
0.12
|
|
229
|
+
],
|
|
230
|
+
"visible": false,
|
|
231
|
+
"material": {
|
|
232
|
+
"color": "#d81b60",
|
|
233
|
+
"roughness": 0.7
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
]
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"id": "confetti",
|
|
240
|
+
"kind": "particles",
|
|
241
|
+
"preset": "confetti",
|
|
242
|
+
"count": 260,
|
|
243
|
+
"area": [
|
|
244
|
+
5,
|
|
245
|
+
4.5,
|
|
246
|
+
3
|
|
247
|
+
],
|
|
248
|
+
"position": [
|
|
249
|
+
2.4,
|
|
250
|
+
2.6,
|
|
251
|
+
0
|
|
252
|
+
],
|
|
253
|
+
"visible": false
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"id": "sparkles",
|
|
257
|
+
"kind": "particles",
|
|
258
|
+
"preset": "magic",
|
|
259
|
+
"count": 50,
|
|
260
|
+
"area": [
|
|
261
|
+
3.5,
|
|
262
|
+
2.6,
|
|
263
|
+
2
|
|
264
|
+
],
|
|
265
|
+
"position": [
|
|
266
|
+
2.4,
|
|
267
|
+
1.6,
|
|
268
|
+
0
|
|
269
|
+
],
|
|
270
|
+
"color": [
|
|
271
|
+
"#fff3b0",
|
|
272
|
+
"#ffd1e8"
|
|
273
|
+
],
|
|
274
|
+
"size": 0.1
|
|
275
|
+
}
|
|
276
|
+
],
|
|
277
|
+
"timeline": {
|
|
278
|
+
"duration": 4.2,
|
|
279
|
+
"trigger": "manual",
|
|
280
|
+
"autoplay": false,
|
|
281
|
+
"segments": {
|
|
282
|
+
"celebrate": [
|
|
283
|
+
0,
|
|
284
|
+
4.2
|
|
285
|
+
]
|
|
286
|
+
},
|
|
287
|
+
"tracks": [
|
|
288
|
+
{
|
|
289
|
+
"target": "foxWave.visible",
|
|
290
|
+
"keys": [
|
|
291
|
+
[
|
|
292
|
+
0,
|
|
293
|
+
true
|
|
294
|
+
],
|
|
295
|
+
[
|
|
296
|
+
0.02,
|
|
297
|
+
false,
|
|
298
|
+
"step"
|
|
299
|
+
],
|
|
300
|
+
[
|
|
301
|
+
4,
|
|
302
|
+
false
|
|
303
|
+
],
|
|
304
|
+
[
|
|
305
|
+
4.02,
|
|
306
|
+
true,
|
|
307
|
+
"step"
|
|
308
|
+
]
|
|
309
|
+
]
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"target": "foxParty.visible",
|
|
313
|
+
"keys": [
|
|
314
|
+
[
|
|
315
|
+
0,
|
|
316
|
+
false
|
|
317
|
+
],
|
|
318
|
+
[
|
|
319
|
+
0.02,
|
|
320
|
+
true,
|
|
321
|
+
"step"
|
|
322
|
+
],
|
|
323
|
+
[
|
|
324
|
+
4,
|
|
325
|
+
true
|
|
326
|
+
],
|
|
327
|
+
[
|
|
328
|
+
4.02,
|
|
329
|
+
false,
|
|
330
|
+
"step"
|
|
331
|
+
]
|
|
332
|
+
]
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"target": "confetti.visible",
|
|
336
|
+
"keys": [
|
|
337
|
+
[
|
|
338
|
+
0,
|
|
339
|
+
false
|
|
340
|
+
],
|
|
341
|
+
[
|
|
342
|
+
0.02,
|
|
343
|
+
true,
|
|
344
|
+
"step"
|
|
345
|
+
],
|
|
346
|
+
[
|
|
347
|
+
4,
|
|
348
|
+
true
|
|
349
|
+
],
|
|
350
|
+
[
|
|
351
|
+
4.02,
|
|
352
|
+
false,
|
|
353
|
+
"step"
|
|
354
|
+
]
|
|
355
|
+
]
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"target": "hello.visible",
|
|
359
|
+
"keys": [
|
|
360
|
+
[
|
|
361
|
+
0,
|
|
362
|
+
true
|
|
363
|
+
],
|
|
364
|
+
[
|
|
365
|
+
0.02,
|
|
366
|
+
false,
|
|
367
|
+
"step"
|
|
368
|
+
],
|
|
369
|
+
[
|
|
370
|
+
4,
|
|
371
|
+
false
|
|
372
|
+
],
|
|
373
|
+
[
|
|
374
|
+
4.02,
|
|
375
|
+
true,
|
|
376
|
+
"step"
|
|
377
|
+
]
|
|
378
|
+
]
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"target": "cheer.visible",
|
|
382
|
+
"keys": [
|
|
383
|
+
[
|
|
384
|
+
0,
|
|
385
|
+
false
|
|
386
|
+
],
|
|
387
|
+
[
|
|
388
|
+
0.02,
|
|
389
|
+
true,
|
|
390
|
+
"step"
|
|
391
|
+
],
|
|
392
|
+
[
|
|
393
|
+
4,
|
|
394
|
+
true
|
|
395
|
+
],
|
|
396
|
+
[
|
|
397
|
+
4.02,
|
|
398
|
+
false,
|
|
399
|
+
"step"
|
|
400
|
+
]
|
|
401
|
+
]
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"target": "mascot.scale",
|
|
405
|
+
"keys": [
|
|
406
|
+
[
|
|
407
|
+
0,
|
|
408
|
+
1
|
|
409
|
+
],
|
|
410
|
+
[
|
|
411
|
+
0.12,
|
|
412
|
+
0.9,
|
|
413
|
+
"outQuad"
|
|
414
|
+
],
|
|
415
|
+
[
|
|
416
|
+
0.5,
|
|
417
|
+
1,
|
|
418
|
+
"outBack"
|
|
419
|
+
],
|
|
420
|
+
[
|
|
421
|
+
4.2,
|
|
422
|
+
1
|
|
423
|
+
]
|
|
424
|
+
]
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"target": "bubble.scale",
|
|
428
|
+
"keys": [
|
|
429
|
+
[
|
|
430
|
+
0,
|
|
431
|
+
1
|
|
432
|
+
],
|
|
433
|
+
[
|
|
434
|
+
0.1,
|
|
435
|
+
0.85
|
|
436
|
+
],
|
|
437
|
+
[
|
|
438
|
+
0.45,
|
|
439
|
+
1.08,
|
|
440
|
+
"outBack"
|
|
441
|
+
],
|
|
442
|
+
[
|
|
443
|
+
0.7,
|
|
444
|
+
1,
|
|
445
|
+
"outCubic"
|
|
446
|
+
]
|
|
447
|
+
]
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"target": "disc.material.color",
|
|
451
|
+
"keys": [
|
|
452
|
+
[
|
|
453
|
+
0,
|
|
454
|
+
"#ffb48a"
|
|
455
|
+
],
|
|
456
|
+
[
|
|
457
|
+
0.3,
|
|
458
|
+
"#ff8fb1",
|
|
459
|
+
"outCubic"
|
|
460
|
+
],
|
|
461
|
+
[
|
|
462
|
+
3.6,
|
|
463
|
+
"#ff8fb1"
|
|
464
|
+
],
|
|
465
|
+
[
|
|
466
|
+
4.2,
|
|
467
|
+
"#ffb48a",
|
|
468
|
+
"inOutCubic"
|
|
469
|
+
]
|
|
470
|
+
]
|
|
471
|
+
}
|
|
472
|
+
]
|
|
473
|
+
},
|
|
474
|
+
"interactions": [
|
|
475
|
+
{
|
|
476
|
+
"on": "click",
|
|
477
|
+
"target": "mascot",
|
|
478
|
+
"do": [
|
|
479
|
+
{
|
|
480
|
+
"play": "celebrate"
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"emit": "mascot-click"
|
|
484
|
+
}
|
|
485
|
+
]
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"on": "click",
|
|
489
|
+
"target": "disc",
|
|
490
|
+
"do": [
|
|
491
|
+
{
|
|
492
|
+
"play": "celebrate"
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"emit": "mascot-click"
|
|
496
|
+
}
|
|
497
|
+
]
|
|
498
|
+
}
|
|
499
|
+
],
|
|
500
|
+
"postfx": [
|
|
501
|
+
{
|
|
502
|
+
"type": "look",
|
|
503
|
+
"preset": "product",
|
|
504
|
+
"intensity": 0.6
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"type": "bloom",
|
|
508
|
+
"threshold": 3,
|
|
509
|
+
"strength": 0.1
|
|
510
|
+
}
|
|
511
|
+
]
|
|
512
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "character-mascot-hero",
|
|
3
|
+
"title": "Mascot hero",
|
|
4
|
+
"description": "Friendly brand-mascot hero (16:9): a procedural fox waving on a pastel pedestal with a 3D speech bubble (text from scene.data), its head and eyes following the pointer; click or tap it and it jumps into a celebration with confetti and a new line, then settles back. Left half free for an HTML headline. Swap the style for an astronaut, robot, cat, bird, blob or ghost.",
|
|
5
|
+
"kind": "hero",
|
|
6
|
+
"tags": ["hero", "mascot", "character", "fox", "brand", "cute", "speech-bubble", "interactive", "click", "pointer", "celebrate", "confetti", "pastel", "landing", "onboarding"],
|
|
7
|
+
"aspect": "16:9"
|
|
8
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Character showcase
|
|
2
|
+
|
|
3
|
+
A 16:9 cartoon line-up, 100 % procedural (0 KB of assets): five `character` generators on pastel clay pedestals, each with its own style, expression and animation, all turning their heads toward the pointer (`eyesFollowPointer`) and growing a little on hover:
|
|
4
|
+
|
|
5
|
+
| Object | Style | Animation | Expression |
|
|
6
|
+
|---|---|---|---|
|
|
7
|
+
| `astronaut` (centre) | `astronaut` | `cheer` | `laugh` |
|
|
8
|
+
| `robot` | `robot` | `dance` | — (screen face) |
|
|
9
|
+
| `fox` | `fox` | `wave` | `happy` |
|
|
10
|
+
| `kid` | `humanoid` (curly hair, hoodie, headphones) | `dance` | `wink` |
|
|
11
|
+
| `cat` | `cat` | `jump` | `surprised` |
|
|
12
|
+
|
|
13
|
+
They rise in one after the other (`appear`), a "Meet the crew" title (text from `data.title`, Fredoka `display` font with an outline) pops in (`appear`), confetti falls, soft studio light + contact shadows + the `product` look finish it. Drag to orbit (zoom off, limited tilt).
|
|
14
|
+
|
|
15
|
+
## What to tweak
|
|
16
|
+
|
|
17
|
+
| Change | Where |
|
|
18
|
+
|---|---|
|
|
19
|
+
| Title | `data.title` (or `data-title="…"` on the element); remove `objects#title` for an image-only hero |
|
|
20
|
+
| A character | `objects#<id>.params`: `style` (`humanoid`, `astronaut`, `robot`, `blob`, `cat`, `fox`, `bird`, `ghost`), colours (`skin`, `shirt`, `pants`, `hair`, `accent`), `expression` (`happy`, `laugh`, `neutral`, `surprised`, `wink`, `sad`, `angry`, `sleepy`), `animation` (`idle`, `walk`, `run`, `wave`, `jump`, `dance`, `cheer`, `celebrate`, `sit`, `point`, `talk`), humanoid `hairStyle` / `outfit` / `accessories` |
|
|
21
|
+
| Toon look | each character `params.shading: "toon"` + `postfx: [{ "type": "outline", "color": "#3b2232" }]` |
|
|
22
|
+
| Fewer characters | remove the outer pair (`kid`, `cat`, `pedL2`, `pedR2`) and narrow `camera.fov` to ~22 |
|
|
23
|
+
| Pedestal colours | `objects#ped*.material.color` |
|
|
24
|
+
| Background | `environment.background.radial` |
|
|
25
|
+
| A rigged library hero instead | replace `astronaut` by `{ "kind": "model", "src": "library:models/characters/knight.glb", "fit": 2.2, "animation": { "clip": "Cheer" } }` (≈ 700 KB) |
|
|
26
|
+
|
|
27
|
+
~75 draw calls ; ~100 k triangles per frame (more counted with the AO pre-pass). `quality: auto` drops AO on low-end devices.
|
|
Binary file
|