Voxel Ringed Capital City Flythrough

By @VulKan42069. Made with Claude Opus 5.5. Watch the original post.

Prompt

Create a single self-contained HTML file using Three.js loaded from a CDN, with all code inline and no other external assets, that plays a breathtaking 60-second cinematic flythrough of a vast, original, full-scale medieval capital city, built entirely in a charming, detailed voxel art style from small flat-coloured cubes, with warm golden-hour lighting, soft shadows, gentle ambient occlusion, drifting cube clouds, strong atmospheric haze so distant districts fade softly into the light and the city feels truly enormous, a soft bloom on the sun, letterbox bars and filmic tone mapping.

LAYOUT: The city is built at true scale, many kilometres across, on a broad green river plain, and is laid out as three perfectly concentric circular rings of colossal walls, like ripples spreading from a single centre point. The walls are immense — far taller than any building, around fifty metres high — sheer, smooth and pale weathered stone, their outer faces ribbed with rows of tall rectangular buttress pillars running from base to top, giving them a rhythmic, monumental look, with a flat walkway along the summit. The vast fields of land between the rings are mostly open green farmland, pasture, forest patches and small villages, so the rings feel enormous and isolated.

WALLED TOWNS: Each ring wall is broken at the four compass points (north, south, east and west) by a walled town district that bulges outward from the ring wall in a deep U shape. Each one is enclosed by the same towering buttressed wall curving around it, and the space inside is packed edge to edge with thousands of tightly crowded houses with brown, terracotta and slate roofs, timber-framed upper floors and smoking chimneys, threaded by narrow winding lanes. At the heart of each town stands a large plaza with a grand stone town hall, and a straight stone-lined canal runs down the middle of the town, passing through a huge arched water gate in the outer curve and another into the ring beyond. A great gate with a drawbridge sits beside the canal at the outer tip. These twelve towns line up exactly along four straight axes from the centre outward, so the whole city reads from above as a perfect target crossed by a giant plus sign. A winding river enters from the north, flows through the canals of the northern towns and the very centre, and leaves through the southern towns, while straight canals and grand avenues link the eastern and western towns through the centre, crossing the river at a great central crossroads square. Watchtowers on the walls fly long red banners, one of which carries @vulkan42069 in bold cube letters. Everything is sized so that houses look like grains beside the walls and a single walled town is a whole city in itself.

INNER CITY: The innermost ring is completely filled with the capital itself: a grand white castle with tall towers and a cathedral beside it on a gentle hill beside the central crossroads, surrounded by stone mansions with courtyards, formal gardens, a clock tower, market squares, an amphitheatre, church spires, and dense neighbourhoods of houses, with wharves, boats and waterwheels along the river and arched stone bridges crossing it.

OUTSIDE THE WALLS: Beyond the outermost ring, a patchwork of farmland, windmills, orchards, scattered villages and dark forests stretches for miles along roads that radiate from the four outer towns, rising toward rolling forested hills and distant snow-capped mountains.

LIFE: Bring the city to life with tiny voxel details: banners fluttering, boats drifting along the river and canals, carts rolling through the gates, flocks of birds wheeling over the rooftops, chimney smoke rising, windmill sails and waterwheels turning, and lanterns flickering on along the wall tops and in windows as the light fades.

PERFORMANCE: To render this scale smoothly, build the houses from a dozen varied templates using instanced meshes, place them procedurally along a generated network of winding lanes with a fixed seed so every town looks dense, organic and never repetitive, build the ring walls, U-shaped town walls and buttress pillars procedurally from instanced cube segments following their curves, merge static geometry by ring and town, and use simpler level-of-detail versions for distant buildings.

TIMELINE (single timeline, smooth, slow, majestic camera moves with gentle cuts):
- 0–10 s: the camera descends through the clouds high above the plain, looking straight down, revealing the whole city at once — three perfect concentric rings, twelve bulging walled towns and the river-and-canal cross — laid out like a giant target below, stretching almost to the horizon.
- 10–20 s: it tilts forward and glides low across the farmland along the southern road, past turning windmills, toward the outer southern town, rising slowly up the sheer buttressed face of its colossal curved wall and sweeping over the top to reveal the town below packed solid with rooftops, its canal and town hall plaza, and the next ring wall looming in the haze beyond.
- 20–32 s: it drops down and follows the canal and river north, through the arched water gates and across the open green land between the rings, then through the middle and inner towns, skimming under stone bridges and past wharves, waterwheels and boats, with houses rising steeply on both banks.
- 32–42 s: it climbs out over the central crossroads and banks in a sweeping arc along the curve of the inner ring wall, over crowded districts and market squares, weaving between the clock tower and church spires toward the castle hill.
- 42–52 s: it slowly orbits the grand castle and cathedral, banners streaming, as the sun lowers and warm lights begin to glow in windows across the whole city and along all three ring walls.
- 52–60 s: it rises and pulls back into a vast, slow, top-down aerial view of the entire ringed city glowing in the sunset, three great circles of wall lanterns forming glowing rings and the twelve towns glittering like jewels on them, the river and canals shimmering in a cross, the countryside fading into dusk, before drifting back up into the clouds to match the opening and loop seamlessly.

SOUND: Add sound generated with the Web Audio API for wind high above the clouds, distant church bells, a lively murmur of city life, river water and creaking waterwheels, birdsong, and a sweeping, majestic orchestral score that swells as the city is revealed and settles gently at the end, starting only after the user clicks a sound toggle.

TECHNICAL: Make the canvas fill the browser window and resize responsively, include small buttons to pause, replay and mute, build everything from voxels with instanced meshes rather than imported models or images, and keep the code clean and smooth-running when the file is opened directly in a modern browser.

Browse all 1008 videos