Skip to content

Design study 07 · Desert fly-over

An endless desert, generated as you fly over it.

A low-altitude flight over dunes and flat-topped mesas toward a setting sun, with glowing contour lines that make the land read like a living survey map. The pointer steers and banks; hold down or press Boost and the view widens as dust stretches into streaks. Nothing is pre-recorded — the landscape is computed as it scrolls beneath you.

Concept build · not client work

Written for this site to demonstrate the technique. On your project it would be designed around your brand, content, and performance budget.

Live demo: Desert fly-over

WebGL is unavailable here — showing the still version.

Try it: Move your pointer to steer and change altitude. Hold the pointer down — or press Boost — to speed up. Live demo — running in your browser
Built with
WebGL mesh · Procedural terrain · Contour lines
Libraries
None — plain browser code
Starts
When it nears the screen
Reduced motion
Still frame + Play button
Script weight
Measured when the demo loads

The case study

What it solves, and how it stays fast.

01

The problem it’s built for

Businesses that work the land — landscaping, solar, excavation, surveying — want a sense of place and scale on their first screen. Drone video delivers it at tens of megabytes. The aim here was the same feeling of territory from a few kilobytes of code, with the visitor in the pilot’s seat.

02

How it’s built

  • A real 3D mesh in raw WebGL: a fine grid around the camera and a coarser one out to the horizon, both snapped to their cell size so the ground never swims.
  • Height comes from four layers of noise — long ridged dunes, cross dunes, soft undulation, and flat-topped mesas on about 5% of the map.
  • The shader re-computes the same landscape per pixel for lighting, rock strata on cliffs, wind ripples, and fog that is warm toward the sun and cool away from it.
  • Contour lines every half unit of height (every fifth one bold) plus a faint survey grid give it a mapped feel; a pulse sweeps out along the lines every nine or ten seconds.
  • The camera follows the ground using a JavaScript copy of the same height field, so it rides over ridges instead of clipping through them.
  • Boost multiplies speed by 2.9 and widens the field of view from 58° to 75°, while 420 dust motes stretch into light streaks.
03

Performance choices

  • Mesh density scales with the stage: 96×96 vertices under 480px wide, 128×128 under 900px, 160×160 above.
  • Rendering is capped at about 1 million pixels (device pixel ratio at most 2), and resolution steps down automatically if frames run slow.
  • Four draw calls per frame, and no terrain data to download — the landscape repeats seamlessly about every 3.4 minutes at cruising speed.
  • Starts when it nears the screen; pauses offscreen and in hidden tabs.
04

Accessibility & fallbacks

  • With reduced motion, one still of a scouted viewpoint shows with a Play button; pressing Boost counts as asking for motion.
  • Boost is a real, keyboard-operable button, and the canvas is described for screen readers.
  • Nothing flashes — the fastest repeating change is a slow star twinkle.
  • Without WebGL (or the precision it needs), a CSS-painted dusk poster shows instead.
  • On touch screens, vertical swipes still scroll the page.

Where it fits

Where a design like this earns its place.

Full-width heroes for outdoor trades and “we cover the valley” sections.

Outdoor-trade heroes

Landscaping, solar, excavation, surveying, drone work — territory as the first impression.

Launch & pricing backdrops

Boost doubles as a playful call to action.

Service-area sections

An ambient band behind “we cover the whole valley”.

Scoped like everything else: available on its own or added to any website package, flat-quoted in your launch plan with a written performance budget — what it does, what it may weigh, and how it behaves on phones and with reduced motion.

Want a moment like this on your site?

Tell us where it should go. You get a written scope, a performance budget, and one flat quote — before anything is built.

Prefer to start with a quick message? Use the message button in the corner — a real person replies, typically within one business day.

Use the up and down arrow keys to move through results, Enter to open one, Escape to close.