| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692 |
- import type { Scene } from "./_helpers";
- export const deepSeaAbyss: Scene = {
- name: "Deep Sea Abyss",
- description:
- "Bioluminescent deep ocean. Pitch black with glowing jellyfish-like creatures.",
- spec: {
- root: "scene",
- elements: {
- scene: {
- type: "Group",
- props: { position: null, rotation: null, scale: null },
- children: [
- "cam",
- "env",
- "fog",
- "ambient",
- "jelly-1-pulse",
- "jelly-2-pulse",
- "jelly-3-pulse",
- "light-1",
- "light-2",
- "light-3",
- "tentacles-1",
- "tentacles-2",
- "tentacles-3",
- "sparkles-1",
- "sparkles-2",
- "controls",
- ],
- },
- cam: {
- type: "PerspectiveCamera",
- props: {
- position: [0, 1, 6],
- fov: 55,
- makeDefault: true,
- },
- children: [],
- },
- env: {
- type: "Environment",
- props: {
- preset: "night",
- background: false,
- blur: 1,
- intensity: 0.05,
- },
- children: [],
- },
- fog: {
- type: "Fog",
- props: { color: "#000510", near: 2, far: 18 },
- children: [],
- },
- ambient: {
- type: "AmbientLight",
- props: { color: "#001133", intensity: 0.15 },
- children: [],
- },
- "jelly-1-pulse": {
- type: "Pulse",
- props: {
- position: [0, 1, 0],
- rotation: null,
- scale: null,
- speed: 0.6,
- min: 0.85,
- max: 1.15,
- },
- children: ["jelly-1-spin"],
- },
- "jelly-1-spin": {
- type: "Spin",
- props: {
- position: null,
- rotation: null,
- scale: null,
- speed: 0.2,
- axis: "y",
- },
- children: ["jelly-1-body"],
- },
- "jelly-1-body": {
- type: "DistortSphere",
- props: {
- position: null,
- rotation: null,
- scale: null,
- castShadow: null,
- receiveShadow: null,
- radius: 1,
- widthSegments: 64,
- heightSegments: 32,
- color: "#00ccff",
- speed: 2,
- distort: 0.5,
- metalness: 0,
- roughness: 0.2,
- },
- children: [],
- },
- "jelly-2-pulse": {
- type: "Pulse",
- props: {
- position: [-4, -1, -3],
- rotation: null,
- scale: null,
- speed: 0.8,
- min: 0.8,
- max: 1.2,
- },
- children: ["jelly-2-spin"],
- },
- "jelly-2-spin": {
- type: "Spin",
- props: {
- position: null,
- rotation: null,
- scale: null,
- speed: -0.3,
- axis: "y",
- },
- children: ["jelly-2-body"],
- },
- "jelly-2-body": {
- type: "DistortSphere",
- props: {
- position: null,
- rotation: null,
- scale: null,
- castShadow: null,
- receiveShadow: null,
- radius: 0.7,
- widthSegments: 64,
- heightSegments: 32,
- color: "#cc44ff",
- speed: 2.5,
- distort: 0.6,
- metalness: 0,
- roughness: 0.2,
- },
- children: [],
- },
- "jelly-3-pulse": {
- type: "Pulse",
- props: {
- position: [3, 0.5, -5],
- rotation: null,
- scale: null,
- speed: 0.5,
- min: 0.9,
- max: 1.1,
- },
- children: ["jelly-3-spin"],
- },
- "jelly-3-spin": {
- type: "Spin",
- props: {
- position: null,
- rotation: null,
- scale: null,
- speed: 0.15,
- axis: "y",
- },
- children: ["jelly-3-body"],
- },
- "jelly-3-body": {
- type: "DistortSphere",
- props: {
- position: null,
- rotation: null,
- scale: null,
- castShadow: null,
- receiveShadow: null,
- radius: 0.5,
- widthSegments: 64,
- heightSegments: 32,
- color: "#ff44aa",
- speed: 1.5,
- distort: 0.4,
- metalness: 0,
- roughness: 0.3,
- },
- children: [],
- },
- "light-1": {
- type: "PointLight",
- props: {
- position: [0, 0, 0],
- rotation: null,
- scale: null,
- color: "#00ccff",
- intensity: 20,
- distance: 12,
- decay: 2,
- castShadow: null,
- },
- children: [],
- },
- "light-2": {
- type: "PointLight",
- props: {
- position: [-4, -1, -3],
- rotation: null,
- scale: null,
- color: "#cc44ff",
- intensity: 15,
- distance: 10,
- decay: 2,
- castShadow: null,
- },
- children: [],
- },
- "light-3": {
- type: "PointLight",
- props: {
- position: [3, 0.5, -5],
- rotation: null,
- scale: null,
- color: "#ff44aa",
- intensity: 10,
- distance: 8,
- decay: 2,
- castShadow: null,
- },
- children: [],
- },
- "tentacles-1": {
- type: "Float",
- props: {
- position: [0, -1, 0],
- rotation: null,
- scale: null,
- speed: 0.3,
- rotationIntensity: 0.5,
- floatIntensity: 0.8,
- enabled: true,
- },
- children: ["t1-s1", "t1-s2", "t1-s3", "t1-s4", "t1-s5", "t1-s6"],
- },
- "t1-s1": {
- type: "GlassSphere",
- props: {
- position: [0.3, -0.5, 0],
- rotation: null,
- scale: null,
- castShadow: null,
- receiveShadow: null,
- radius: 0.12,
- widthSegments: 16,
- heightSegments: 8,
- color: "#00ccff",
- transmission: 0.9,
- thickness: 0.3,
- roughness: 0.1,
- chromaticAberration: 0.1,
- ior: 1.5,
- distortion: 0,
- distortionScale: null,
- temporalDistortion: null,
- samples: 6,
- resolution: 128,
- },
- children: [],
- },
- "t1-s2": {
- type: "GlassSphere",
- props: {
- position: [-0.2, -1.2, 0],
- rotation: null,
- scale: null,
- castShadow: null,
- receiveShadow: null,
- radius: 0.1,
- widthSegments: 16,
- heightSegments: 8,
- color: "#00ccff",
- transmission: 0.9,
- thickness: 0.3,
- roughness: 0.1,
- chromaticAberration: 0.1,
- ior: 1.5,
- distortion: 0,
- distortionScale: null,
- temporalDistortion: null,
- samples: 6,
- resolution: 128,
- },
- children: [],
- },
- "t1-s3": {
- type: "GlassSphere",
- props: {
- position: [0.4, -1.9, 0],
- rotation: null,
- scale: null,
- castShadow: null,
- receiveShadow: null,
- radius: 0.08,
- widthSegments: 16,
- heightSegments: 8,
- color: "#00ccff",
- transmission: 0.9,
- thickness: 0.3,
- roughness: 0.1,
- chromaticAberration: 0.1,
- ior: 1.5,
- distortion: 0,
- distortionScale: null,
- temporalDistortion: null,
- samples: 6,
- resolution: 128,
- },
- children: [],
- },
- "t1-s4": {
- type: "GlassSphere",
- props: {
- position: [-0.3, -2.5, 0],
- rotation: null,
- scale: null,
- castShadow: null,
- receiveShadow: null,
- radius: 0.07,
- widthSegments: 16,
- heightSegments: 8,
- color: "#00ccff",
- transmission: 0.9,
- thickness: 0.3,
- roughness: 0.1,
- chromaticAberration: 0.1,
- ior: 1.5,
- distortion: 0,
- distortionScale: null,
- temporalDistortion: null,
- samples: 6,
- resolution: 128,
- },
- children: [],
- },
- "t1-s5": {
- type: "GlassSphere",
- props: {
- position: [0.1, -3.0, 0],
- rotation: null,
- scale: null,
- castShadow: null,
- receiveShadow: null,
- radius: 0.06,
- widthSegments: 16,
- heightSegments: 8,
- color: "#00ccff",
- transmission: 0.9,
- thickness: 0.3,
- roughness: 0.1,
- chromaticAberration: 0.1,
- ior: 1.5,
- distortion: 0,
- distortionScale: null,
- temporalDistortion: null,
- samples: 6,
- resolution: 128,
- },
- children: [],
- },
- "t1-s6": {
- type: "GlassSphere",
- props: {
- position: [-0.1, -3.4, 0],
- rotation: null,
- scale: null,
- castShadow: null,
- receiveShadow: null,
- radius: 0.05,
- widthSegments: 16,
- heightSegments: 8,
- color: "#00ccff",
- transmission: 0.9,
- thickness: 0.3,
- roughness: 0.1,
- chromaticAberration: 0.1,
- ior: 1.5,
- distortion: 0,
- distortionScale: null,
- temporalDistortion: null,
- samples: 6,
- resolution: 128,
- },
- children: [],
- },
- "tentacles-2": {
- type: "Float",
- props: {
- position: [-4, -2.5, -3],
- rotation: null,
- scale: null,
- speed: 0.4,
- rotationIntensity: 0.5,
- floatIntensity: 0.8,
- enabled: true,
- },
- children: ["t2-s1", "t2-s2", "t2-s3", "t2-s4", "t2-s5"],
- },
- "t2-s1": {
- type: "GlassSphere",
- props: {
- position: [0.3, -0.5, 0],
- rotation: null,
- scale: null,
- castShadow: null,
- receiveShadow: null,
- radius: 0.1,
- widthSegments: 16,
- heightSegments: 8,
- color: "#cc44ff",
- transmission: 0.9,
- thickness: 0.3,
- roughness: 0.1,
- chromaticAberration: 0.1,
- ior: 1.5,
- distortion: 0,
- distortionScale: null,
- temporalDistortion: null,
- samples: 6,
- resolution: 128,
- },
- children: [],
- },
- "t2-s2": {
- type: "GlassSphere",
- props: {
- position: [-0.2, -1.1, 0],
- rotation: null,
- scale: null,
- castShadow: null,
- receiveShadow: null,
- radius: 0.08,
- widthSegments: 16,
- heightSegments: 8,
- color: "#cc44ff",
- transmission: 0.9,
- thickness: 0.3,
- roughness: 0.1,
- chromaticAberration: 0.1,
- ior: 1.5,
- distortion: 0,
- distortionScale: null,
- temporalDistortion: null,
- samples: 6,
- resolution: 128,
- },
- children: [],
- },
- "t2-s3": {
- type: "GlassSphere",
- props: {
- position: [0.4, -1.7, 0],
- rotation: null,
- scale: null,
- castShadow: null,
- receiveShadow: null,
- radius: 0.06,
- widthSegments: 16,
- heightSegments: 8,
- color: "#cc44ff",
- transmission: 0.9,
- thickness: 0.3,
- roughness: 0.1,
- chromaticAberration: 0.1,
- ior: 1.5,
- distortion: 0,
- distortionScale: null,
- temporalDistortion: null,
- samples: 6,
- resolution: 128,
- },
- children: [],
- },
- "t2-s4": {
- type: "GlassSphere",
- props: {
- position: [-0.3, -2.2, 0],
- rotation: null,
- scale: null,
- castShadow: null,
- receiveShadow: null,
- radius: 0.05,
- widthSegments: 16,
- heightSegments: 8,
- color: "#cc44ff",
- transmission: 0.9,
- thickness: 0.3,
- roughness: 0.1,
- chromaticAberration: 0.1,
- ior: 1.5,
- distortion: 0,
- distortionScale: null,
- temporalDistortion: null,
- samples: 6,
- resolution: 128,
- },
- children: [],
- },
- "t2-s5": {
- type: "GlassSphere",
- props: {
- position: [0.1, -2.6, 0],
- rotation: null,
- scale: null,
- castShadow: null,
- receiveShadow: null,
- radius: 0.05,
- widthSegments: 16,
- heightSegments: 8,
- color: "#cc44ff",
- transmission: 0.9,
- thickness: 0.3,
- roughness: 0.1,
- chromaticAberration: 0.1,
- ior: 1.5,
- distortion: 0,
- distortionScale: null,
- temporalDistortion: null,
- samples: 6,
- resolution: 128,
- },
- children: [],
- },
- "tentacles-3": {
- type: "Float",
- props: {
- position: [3, -1, -5],
- rotation: null,
- scale: null,
- speed: 0.35,
- rotationIntensity: 0.5,
- floatIntensity: 0.8,
- enabled: true,
- },
- children: ["t3-s1", "t3-s2", "t3-s3", "t3-s4"],
- },
- "t3-s1": {
- type: "GlassSphere",
- props: {
- position: [0.3, -0.5, 0],
- rotation: null,
- scale: null,
- castShadow: null,
- receiveShadow: null,
- radius: 0.09,
- widthSegments: 16,
- heightSegments: 8,
- color: "#ff44aa",
- transmission: 0.9,
- thickness: 0.3,
- roughness: 0.1,
- chromaticAberration: 0.1,
- ior: 1.5,
- distortion: 0,
- distortionScale: null,
- temporalDistortion: null,
- samples: 6,
- resolution: 128,
- },
- children: [],
- },
- "t3-s2": {
- type: "GlassSphere",
- props: {
- position: [-0.2, -1.0, 0],
- rotation: null,
- scale: null,
- castShadow: null,
- receiveShadow: null,
- radius: 0.07,
- widthSegments: 16,
- heightSegments: 8,
- color: "#ff44aa",
- transmission: 0.9,
- thickness: 0.3,
- roughness: 0.1,
- chromaticAberration: 0.1,
- ior: 1.5,
- distortion: 0,
- distortionScale: null,
- temporalDistortion: null,
- samples: 6,
- resolution: 128,
- },
- children: [],
- },
- "t3-s3": {
- type: "GlassSphere",
- props: {
- position: [0.4, -1.5, 0],
- rotation: null,
- scale: null,
- castShadow: null,
- receiveShadow: null,
- radius: 0.06,
- widthSegments: 16,
- heightSegments: 8,
- color: "#ff44aa",
- transmission: 0.9,
- thickness: 0.3,
- roughness: 0.1,
- chromaticAberration: 0.1,
- ior: 1.5,
- distortion: 0,
- distortionScale: null,
- temporalDistortion: null,
- samples: 6,
- resolution: 128,
- },
- children: [],
- },
- "t3-s4": {
- type: "GlassSphere",
- props: {
- position: [-0.1, -1.9, 0],
- rotation: null,
- scale: null,
- castShadow: null,
- receiveShadow: null,
- radius: 0.05,
- widthSegments: 16,
- heightSegments: 8,
- color: "#ff44aa",
- transmission: 0.9,
- thickness: 0.3,
- roughness: 0.1,
- chromaticAberration: 0.1,
- ior: 1.5,
- distortion: 0,
- distortionScale: null,
- temporalDistortion: null,
- samples: 6,
- resolution: 128,
- },
- children: [],
- },
- "sparkles-1": {
- type: "Sparkles",
- props: {
- position: [0, 0, -3],
- rotation: null,
- scale: [15, 10, 15],
- count: 300,
- speed: 0.1,
- opacity: 0.4,
- color: "#00aaff",
- size: 1,
- noise: 3,
- },
- children: [],
- },
- "sparkles-2": {
- type: "Sparkles",
- props: {
- position: [0, -2, 0],
- rotation: null,
- scale: [12, 6, 12],
- count: 150,
- speed: 0.05,
- opacity: 0.2,
- color: "#8844ff",
- size: 0.8,
- noise: 2,
- },
- children: [],
- },
- controls: {
- type: "OrbitControls",
- props: {
- enableDamping: true,
- dampingFactor: null,
- enableZoom: true,
- enablePan: null,
- enableRotate: true,
- minDistance: 3,
- maxDistance: 18,
- minPolarAngle: null,
- maxPolarAngle: null,
- autoRotate: true,
- autoRotateSpeed: 0.15,
- },
- children: [],
- },
- },
- },
- };
|