Aurora over a Frozen Lake
A frozen arctic lake at night, live in 3D: folding green and magenta aurora curtains brighten into a substorm and a corona overhead, mirrored in black ice beside a snowy spruce forest and a log cabin with a warm window and chimney smoke.
Made in Claude Code (Claude subscription) with claude-opus-5.5. The agent wrote code, looked at the preview and fixed it over several iterations. This is not a single-shot result: comparisons on this site show models in one attempt.
Starting prompt
Build "Aurora over a Frozen Lake": a quiet arctic night rendered live in 3D, filmed as a looping time-lapse in which the northern lights brighten into a substorm and then calm again. It should look like long-exposure aurora photography and be beautiful from the first frame. Single self-contained HTML file; Three.js and its addons from a CDN via an import map are fine; build everything procedurally (canvas textures are fine), no external models or image files. The scene (metres, y up; the opening view looks north-west, roughly along −z): - The lake: a frozen lake about 1.1 km by 0.6 km, with the camera standing on the ice about 2 m above it. The ice is a real mirror (for example a Reflector with a custom shader). Clear black ice reflects the aurora, the forest and the cabin, with wind-blown streaks and patches of snow between the clear patches. Near the camera there are faint cracks and frozen bubbles, and more snow lies along the shore. - The shore and hills: snow-covered banks rise gently from the ice, with low hills behind them. - The forest: a dense ring of narrow Lapland spruces, 8 to 23 m tall and only about a quarter as wide, each with drooping, jagged tiers of branches dusted with snow. Use thousands of them as instanced meshes, so they read as dark silhouettes against the sky. - The cape: a forested spit of land reaches into the lake from the west, about 100 m from the camera. - The cabin: a small log cabin, about 6 × 4.6 m, on the tip of the cape. - Log walls with crossed log ends at the corners, on a stone footing. - A gabled roof under a thick, rounded layer of snow. - A stone chimney with a thin plume of smoke drifting downwind. - Two warm windows with frames and a small lamp by the door. They glow orange, light the snow in front and are reflected in the ice. - Mountains: a ring of low, snowy mountains 2 to 9 km away, highest in the north, with dark rock and forest on their slopes, fading into blue haze. - The sky: a deep navy gradient with a faint airglow along the horizon, about 11,000 stars (a few of them bright and coloured), and a faint Milky Way band with dark dust lanes. The stars turn slowly around the celestial pole, about 68° up in the north, which gives the time-lapse feel. A few shooting stars streak across the frame. The aurora: tall, folding curtains, not a flat texture. - Each curtain is a long emitting sheet several layers thick. Its lower edge is at about 1 km altitude, it is about 5 km tall and it runs from horizon to horizon. Over time it folds and drifts in S-shaped curls that grow during the storm. - The lower edge is sharp and the brightest green. Vertical rays rise from it and fade upward, and their tops turn magenta-red. During the storm a thin pink fringe runs along the lower edge. - A curtain glows brighter where it is seen edge-on. Its rays drift along it and flicker. Fast pulses and flames race along the curtains, strongest during the substorm. - A second curtain sweeps in from the north during the substorm and passes overhead. There its rays converge towards the magnetic zenith in a corona. - The aurora casts a faint green light on the snow. The look: a night scene that always stays readable. - ACES tone mapping and gentle bloom on the aurora, the cabin windows and the bright stars, with a soft vignette and fine film grain. - The landscape is dim and blue-grey, lit by the aurora. It must never look washed out and never turn into a black screen. The film: a 64-second time-lapse that loops, shot as one continuous camera move over the ice. 1. Quiet arc (0–8 s): a green arc in the north with gentle rays, and the cabin on the left. 2. Brightening (8–15 s): the arc brightens, its rays sharpen and the camera pans slowly. 3. Substorm (15–24 s): the curtains brighten and fold, magenta tops appear and pulses race along them. The cabin and its reflection stay in the frame. 4. Corona overhead (24–36 s): as the storm curtain passes overhead, the camera tilts up about 35° to show its rays converging. 5. Recovery (36–60 s): the camera tilts back down and the curtains dim and blink in patches (pulsating aurora). Gentle snow falls for a while, and the camera glides towards the cabin. 6. Quiet again (60–64 s), then the loop starts over. Interface: - A small, elegant caption with the title and a status line such as "Kp 6 — substorm · 23:41 local". The local time runs in time-lapse from 22:40 to about 02:00. - Drag with the mouse or a finger to look around. The camera eases back to its path a few seconds after the last input. A brief "Drag to look around" hint fades out. - Everything starts automatically and is visibly moving from the first frame, without any interaction. The layout works on a phone, with a wider field of view in portrait. Engineering rules (the page must work on the first load, with no fixes): - Use Three.js r170 and only methods that exist on each of its classes. Give every custom ShaderMaterial `fog: false`, and declare every uniform, constant and varying its shaders use. - Declare each identifier once. Inside one calculation, never reuse a shared scratch vector for two values that are both still needed; use local vectors. - Guard every animated value against NaN. - Answer with the complete file exactly once, in a single ```html code block: no drafts, partial snippets or notes. Keep planning brief and write the code. Aim for roughly 700 to 1,000 lines, compact and well structured.