Inspirations

Raising the Florence Dome

A real-time time-lapse of Brunelleschi's dome, 1420–1471: two herringbone brick shells rise over the drum as masons work the scaffolds, oxen turn the hoist and Florence lives below, ending with the lantern and gilded ball at golden hour.

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 "Raising the Florence Dome": a real-time 3D time-lapse of Filippo Brunelleschi raising the dome of Santa Maria del Fiore in Florence between 1420 and 1436, ending with the lantern and the finished dome over the city at golden hour. It should look like a documentary reconstruction: the dome is the hero, but the story is human: the masons, the oxen and the living city. Beautiful from the first frame, with real proportions and nothing toy-like. 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 cathedral (metres, y up, x east, z south, dome axis at the origin):
- An octagonal drum, its inner faces 45.5 m apart (the span of the dome) and its top 55 m above the piazza, clad in white marble panels framed in green serpentine, with a large round window in each face and a rough unfinished band at the top.
- Three polygonal tribunes with tiled half-dome roofs against the north, east and south faces; to the west a nave about 42 m wide and 80 m long with polychrome marble walls, Gothic windows, round clerestory windows and a pitched tiled roof, ending at the unfinished façade. Giotto's campanile (14.5 m square, 85 m tall) beside the façade, and the octagonal Baptistery with its white pyramid roof across the piazza.
- The dome: two octagonal shells on a "pointed fifth" profile (each arc has a radius of four fifths of the span): an inner shell about 2.2 m thick, a 1.2 m gap and an outer shell about 0.8 m thick, tied by eight corner ribs and sixteen hidden ribs, closing at an oculus about 6 m across some 35 m above the drum. On top, the 21 m marble lantern with buttresses and volutes, a conical cap, the gilded copper ball and the cross, about 114 m above the ground.
- Built without centring: the brick beds tilt inward towards the centre of curvature, sag slightly in the middle of each face and carry herringbone bricks set on end in diagonal bands. The terracotta tiles and the eight white marble ribs follow a few metres below the raw brick edge.

The people and the work:
- Masons on cantilevered timber platforms that ring the working edge inside and out, on beams set into the masonry, with railings and ladders: convincing small figures in tunics and caps who lay bricks, carry loads and walk the rim. Not cartoons.
- On the cathedral floor, in the pool of daylight falling through the open dome, two white Tuscan oxen walk in a circle turning Brunelleschi's hoist; its ropes rise to a timber crane on radial trusses at the centre of the work, whose boom slews to swing loads of brick and stone onto the rim.
- Below, the piazza is alive: people crossing and talking, ox carts bringing bricks and marble, stacks of material in the works yard, dust drifting in the light.

Florence: thousands of houses of four to six storeys in ochre, cream and pink stucco with small dark windows, green shutters and terracotta roofs, narrow streets and open piazzas, thin smoke rising from chimneys; the Palazzo Vecchio and its 94 m tower to the south, church roofs and medieval towers, the Arno with its bridges, cypresses and villas on the hills of Fiesole and San Miniato, fading into haze. Swallows wheel around the dome and clouds race across the sky as the years pass.

The look: warm Tuscan late-afternoon light that deepens into golden hour: a low sun in the west-south-west that sinks and slides towards the west as the film runs, raking across the courses, ribs and roofs, long shadows over the city, cool shade, amber haze glowing towards the sun and blue-violet distance in the hills. ACES filmic tone mapping and sRGB output; rich but readable, never muddy, never washed out.

The time-lapse, a 56-second loop driven by wall-clock time (performance.now):
1. 0–38 s, 1420 → 1436: the shells rise course by course, the platforms and the crane climbing with them. The camera opens on a three-quarter aerial view with the campanile and pushes in over the side-lit shells, passes the masons at the rim, looks down into the octagon at the oxen and the rising loads, then circles the dome in warm frontal light and turns towards the glow.
2. 38–41 s: the dome closes at the oculus and the scaffolding comes down.
3. 41–47 s, 1446 → 1471: the lantern rises and the gilded ball is set on top as the camera pulls back.
4. 47–52 s: a wide telephoto golden-hour view from the east-south-east: the finished dome above the roofs beside the campanile, in glowing haze.
5. 52–56 s: time rewinds to 1420 and the dome sinks course by course while the camera swings back to its first position, so the loop is seamless.
The camera is one continuous, slow take; the first frame is already a composed shot of the dome under construction, with no loader, fade or title card.

Interface: only a small, elegant caption in a corner with the title, the running year, what is being built and the height of the work above the piazza. No buttons. Everything moves on its own from the first frame and loops forever; it must run in a sandboxed iframe (no storage, dialogs or navigation), and the layout works on a phone.

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, with all their arguments (Matrix4.scale takes a Vector3). 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.
- Instance repeated geometry, warm up the shaders before the first frame, cap the pixel ratio at 2 and allocate nothing per frame.
- 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 1,200 to 1,600 lines, compact and well structured.