Skip to content
Backgrounds14 / 118

Contour Terrain

A dark 3D landscape, ray-marched and seen at a steep angle, its slopes traced by fine glowing topographic contour lines that crowd on the steep ground and open out on the flats. Every line stays crisp, the land falling away into the dark with distance. The land swells under your cursor with the lines bunching around it, a click rolls a ripple through the terrain, scrolling flies you across it, and when idle the land slowly shifts.

WebGLRay-marched 3DTopographic linesDepthGSAPReduced-motion safe
Raise the landClick for a ripple

Tweak

LIVE

Colour

#e4e4e4
#8a8a8a
#0e0e0e

Terrain

18.0
1.00
1.00

Light

1.00
0.50

Motion

1.00

Interactive

The land swells under the cursor, clicks send a ripple

Props

13 props
  • linestring
    Colour of the contour lines.default "#e4e4e4"
  • groundstring
    Colour of the land between them.default "#8a8a8a"
  • backgroundstring
    Background colour.default "#0e0e0e"
  • linesnumber
    How many contour lines (lines per unit of height).default 18
  • reliefnumber
    How tall and rugged the land is.default 1
  • depthnumber
    How quickly the land fades into the dark with distance.default 1
  • intensitynumber
    Brightness of the lines.default 1
  • glownumber
    Strength of the bloom.default 0.5
  • speednumber
    Speed of the idle drift.default 1
  • interactiveboolean
    Cursor swell and light, click ripple.default true
  • scrollerElement | null
    Scroll container, if the page does not scroll the window.
  • childrenReactNode
    Foreground content, drawn above the terrain.
  • classNamestring
    Size it, e.g. h-screen w-full.