Rebuild a 5-phase WebGL world in 7 prompts
An interactive 5-phase Three.js & GLSL recreation inspired by hatom.com — zero external 3D models, zero textures, plus a generative WebAudio synth. Scroll the prompts and watch the live 3D camera fly through each phase on the left.
-
01Twilight sky, mountains & mirror waterWorld Base
Every phase shares one atmospheric valley: custom GLSL twilight sky, jagged silhouette peaks, basalt ridge, and opaque mirror-reflective lake.
PROMPT · THREE.JS + GLSLBuild a Vite + Three.js fullscreen WebGL site with one continuous virtual-scroll camera spline (progress 0..1 across 5 phases). Create the shared twilight environment: a custom GLSL sky dome grading from deep night-indigo (#05010e) through violet to warm rose-magenta (#a33575) with FBM clouds and stars; two jagged obsidian mountain silhouette rings with depthWrite=true; an elongated bumpy basalt ridge island lit by overhead magenta specular sheen; an opaque GLSL mirror water plane with animated capillary ripples, sky reflection, and a luminous center specular column; and instanced pale-cyan hexagonal quartz crystals poking from the island and foreground water.
-
02Volumetric plasma ovoid orbPhase 01
The floating egg silhouette reads as magical glass filled with swirling fire and dark smoke purely through 3D parallax FBM inside one fragment shader.
PROMPT · GLSL SHADERAdd Phase 01's centerpiece hovering above the basalt island: a sculpted vertical egg-ovoid mesh (SphereGeometry tapered toward the top, scaled 1.24 vertically). Write a custom transparent Fresnel GLSL shader: saturate the outer grazing edge in electric cobalt blue (#2470ff), sample 5-octave 3D FBM offset along -viewDir for deep interior parallax, paint an ink-black swirling smoky vortex at the center encircled by fiery coral-orange magma ribbons, and back it with a soft additive violet halo sprite.
-
03Emerald comet slice & crystal shatterPhase 02
Dolly the camera closer while a curved glowing energy arc slices the ovoid and bursts 36 glass shards into slow-motion orbit.
PROMPT · ANIMATIONFor Phase 02 (progress 0.15..0.38), dolly the camera closer and shift the HUD copy block to the right. Animate a curved 3D TubeGeometry comet beam sweeping diagonally across the egg with a golden-white tail fading into a bright emerald-green sphere head. Drive a glowing fracture vein uniform across the orb shader, then burst 36 procedural faceted TetrahedronGeometry shards outward along radial trajectories with custom indigo-glass Fresnel + warm ember underside shading while tumbling slowly.
-
04Winged guardian & fiery amber dissolvePhase 03
Sculpt a procedural winged obsidian-and-crystal guardian in code and burn it into view with a rising cellular molten-gold dissolve front.
PROMPT · PROCEDURAL 3D + GLSLBuild Phase 03's centerpiece procedurally in Three.js with no external GLB: a noble quadrupedal winged sentinel combining dark matte obsidian cyber-armor (chestplate with a glowing orange chevron emblem, tapered curved neck mantle, horned head with amber eyes, armored wing leading edges) and a translucent frosted ice-violet crystal body, limbs, S-curved tail, and sculpted extruded curved wing canopies. Write a shared fragment dissolve uniform uReveal (0..1) using high-frequency FBM spatter that burns upward across the sentinel in glowing orange-to-gold embers, surrounded by seamless periodic 3D rising spectral mist.
-
05Side-profile orbit & laser slashPhase 03b
Rotate the guardian into a heroic left-facing side profile with breathing crystal wings and a foreground golden-to-cyan laser slash.
PROMPT · CHOREOGRAPHYAs scroll advances from progress 0.46 to 0.55, smoothly rotate the winged sentinel from frontal chest view into a sweeping left-facing side profile, unfurl its translucent crystal wings with sinusoidal breathing motion, and fade in an additive curved golden-to-cyan laser TubeGeometry slash slicing diagonally across the lower foreground.
-
06Neon-violet citadel & plasma pillarPhase 04
Pull the camera back so the sentinel stands on its rocky ridge before a spaced futuristic skyline pierced by a vertical violet light beam.
PROMPT · ENVIRONMENTFor Phase 04 (progress 0.56..0.78), pull the camera back wide and shift the HUD right. Rise a semicircle of 11 spaced dark-obsidian & side-lit indigo skyscrapers out of horizon mist behind the island, with crisp subtle vertical architectural louvers, glowing canvas-drawn holographic brand emblems on the hero towers, and a razor-focused vertical additive violet plasma beam shooting straight to zenith behind the guardian.
-
07Monolith, 4 eclipse planets & HUD/audioPhase 05 + Polish
Dive through a brief dark veil into an open twilight lake where 4 atmospheric glass-and-eclipse planets rise behind lowered mountain peaks.
PROMPT · FINALE + AUDIO + HUD + TYPOGRAPHYAdd a brief dark-veil transition (0.76..0.83) into Phase 05: hide the central island & foreground crystals, lower the mountain silhouette ring by 34%, place an angled matte-obsidian monolith slab with a glowing split-ring emblem and subtle circuit lines in open shimmering water, put an anamorphic golden-violet vertical flare pillar behind it, and place 4 large misty Fresnel celestial spheres behind the mountains (depthTest=true so mountain peaks silhouette across them — giant violet left, cyan moon mid-left, pearl sphere mid-right, blazing golden solar-eclipse crescent far-right). Finish with a stark white preloader gate, OC Mikola (Regular 400 & Medium 500) typography with diagonal glitch-title word reveals (translate3d(-18px,-18px,0) stagger + chromatic pulse) and animated FocusButton underlines, custom ring canvas cursor ("Click & hold to listen"), 5-dot top nav, chartreuse PHASE badges, Find Out More drawers, and a generative WebAudio ambient drone.
Zero models. Pure shaders & math.
Every mountain, crystal, plasma orb, winged guardian, skyscraper, eclipse planet, and water ripple runs in real-time WebGL shaders — iterate via top/bottom video comparison until every beat locks in. Launch full experience ↗
An educational study recreation inspired by hatom.com with original brand identity (Vectra) and 100% procedural WebGL geometry & shaders.