All Opus 5.5 videos › 3D scenes

Interactive jelly iceberg diorama in a single HTML file

by Vib3Coded (@vib3coded) · Oct 14, 2026

Prompt

The author shared part of the prompt.

Build "Iceberg Jelly" — the next piece in my "Material Studies" series of jelly dioramas: a single self-contained HTML file using WebGPU (WGSL), no external libraries, English UI.

THE SCENE
A square block of jelly (5.2 × 5.2 units) standing on a pale, cool-grey paper studio backdrop with a soft floor shadow. Inside it, a polar bay:
- At the back left, a glacier flows down a valley between jagged mountains and ends in an ice cliff standing in deep water. The cliff has vertical runnels and blue bands. The glacier surface has chevron crevasses along its margins, transverse crevasses and seracs near the front, and grey lateral moraines. Its tongue is flanked by moraine banks, so only its front stands in the water.
- Mountains: a peaky left range and a spur on the right of the glacier, with a snowy ridge along the back. Dark volcanic rock with orange lichen, and snow in ragged patches on flatter and higher ground (not everywhere).
- At the back right, a low peninsula with an Adélie penguin rookery: an organic, irregular patch of round pebbles stained pink with krill, with pebble-ring nests. Behind it, a small research station (red and yellow huts on stilts, fuel drums, a radio mast with guy wires, a flag, a turning anemometer, a snowmobile) and a timber quay.
- A ragged skerry of two low rocks off to the front right, where Weddell seals haul out.
- The sea floor is grey gravel with shells, sponges, sea stars and swaying anemones, visible through the clear jelly front face.
- The cut faces of the block show candy-coloured strata, dark basalt columns under the land, and layered blue glacier ice with a dirty basal layer under the glacier.

PHYSICS
- Shallow-water simulation on a ~168² grid for the bay: waves, wakes, foam, refraction, caustics on the floor, light shafts, and absorption that depends on the flavour.
- Every piece of ice is a rigid body: tabular, dome, pinnacle and wedge bergs, growlers, pancake floes, and glacier slabs. Each is a star-shaped faceted mesh (superellipsoid plus lobes plus two octaves of noise), a lattice of mass points for buoyancy and drag, and contact spheres for ground, walls, each other and the ship. Settle stable poses at load so nothing capsizes at the start.
- Calving: three slabs stand along the cliff. About once a minute (or on demand) one breaks off with a crack, a puff of ice dust, a splash, spray and a wave, then capsizes until it finds a stable way up. The glacier slowly pushes a new slab out. Old slabs melt away.
- The displaced water is handed back to the waves without feedback: wakes only when a piece moves fast, splashes when it plunges in. Slow drift makes no waves.
- The jelly block itself wobbles, shears and squashes, and can be tipped by dragging its side.

LIFE
- An icebreaker, "Polaris" (red hull with a spoon bow, white superstructure, yellow funnel with smoke, a turning radar, a helideck), lies at the quay. Now and then (or on demand) she casts off, shoulders round the bay through the pack, pu
Prompt by @vib3coded, from their reply
Category
3D scenes
From the author
One detailed prompt in a coding agent.
On X
270 likes · 13K views · 128 saves

More 3D scenes

3D scenesPart of prompt1:00

Interactive feudal Japan riverboat scene with weather and day-night cycle

@MengTo♥ 6.6K
Three.jsPhysicsAI image
3D scenesPrompt0:14

Walkable three.js 3D house built from a floor plan

@everestchris6♥ 4.3K
Three.js
3D scenesPrompt0:54

Ultra-detailed ancient Greek world built entirely with code

@LexnLin♥ 3.4K
Three.js
3D scenesPrompt0:18

Interactive 3D watermelon jelly slice with soft-body wobble

@vib3coded♥ 2.1K
3D scenesPart of prompt0:18

3D gym builder with hundreds of modeled equipment pieces

@wesbos♥ 2K
Three.js
3D scenesPrompt0:18

Interactive voxel ship in a bottle with ocean, dolphins, lighthouse, and physics

@vib3coded♥ 1.6K
PhysicsWebGL
3D scenesPrompt0:18

Interactive 3D plush octopus toy in browser

@vib3coded♥ 1.4K
PhysicsWebGPU
3D scenesPrompt0:45

Cinematic 3D render video in a three.js world

@LexnLin♥ 1.4K
Three.js