Build a walkable procedural tropical island in one HTML file

A Redditor directed Cursor agents on Fable 5.2 to write Windward, a WebGPU tropical island you can walk, swim and fly, generated on load in a single 360 KB HTML file.

Done withCursor· Nov 24, 2026

What they did

The poster set out to make a self-contained WebGPU world in the style of an earlier open-source underwater scene, but extended above the waterline so beach, lagoon and reef feel like one place. Nothing is loaded from outside: no images, models, audio files or libraries. Agents in Cursor, running Fable 5.2, wrote the code in rounds while the poster directed: shaders, terrain, ocean, plants, wildlife and sound. Along the way the agents rendered frames in a headless browser to check what they had built.

How it went

The finished island ships as one HTML file of about 360 KB, open source under MIT, with walking, swimming, flying and a moving day and weather cycle. It runs best in Chrome and has quality presets plus a frame-time readout. Commenters liked it but found rough edges: a thunderstorm during the day still shows a bright sky with white clouds, and cycling time and weather with one button is slow. The poster gives no figures on time or cost.

Worth knowing

Checking rendered frames in a headless browser is what let the agents judge visual work without a person looking at every change. It needs a WebGPU browser, and heavy settings can be too much for weaker GPUs, so the poster added Medium and Low presets. Ambient audio was the part one commenter said they still struggle to get right.

Try it

With Cursor· 9 parts to fill in

Build [a place, e.g. a tropical island] that a visitor can [walk, swim and fly] through in the browser, as one self-contained HTML file using WebGPU. Generate every mesh, texture and sound in code on load, with no images, models, audio files or libraries. Work in rounds: [terrain], [water], [plants], [wildlife], [sound], [day and weather cycle]. After each round, render frames in a headless browser, look at them and fix what looks wrong before moving on. Add [High, Medium, Low] quality presets and an on-screen frame-time readout. Stop after each round and show me the frames before starting the next.

Square brackets are the parts to fill in. The prompt is ours; the story is theirs.

Where they said it

Related