Skip to content
Backgrounds21 / 118

Sand Ripples

A great dark dune of grainy, monochrome sand sweeps across the frame, combed into fine lopsided ripples that bend with the slope and twist into marbled eddies near the crest. Every ripple is real relief, catching a low raking light on one flank and falling into shadow on the other, and the mass dissolves into black at its edge. The ripples creep on their own; the light swings round to follow your cursor as the sand dips under it, a click rolls a wave across the ripples, and scrolling drifts them.

WebGLHeight fieldRaking lightFilm grainGSAPReduced-motion safe
Move the lightClick for a wave

Tweak

LIVE

Colour

#e8e6e2
#121212
#060606

Sand

1.00
1.00
1.00
1.00

Motion

1.00

Interactive

The light follows the cursor, clicks roll a wave

Props

12 props
  • sandstring
    Colour of the lit sand.default "#e8e6e2"
  • shadowstring
    Colour of the shadows in the ripples.default "#121212"
  • backgroundstring
    Background colour beyond the dune.default "#060606"
  • ripplesnumber
    How close together the ripples are.default 1
  • reliefnumber
    How deep the ripples are.default 1
  • grainnumber
    Amount of grain.default 1
  • intensitynumber
    Brightness of the light.default 1
  • speednumber
    Speed of the creeping ripples.default 1
  • interactiveboolean
    Cursor light and dent, click wave.default true
  • scrollerElement | null
    Scroll container, if the page does not scroll the window.
  • childrenReactNode
    Foreground content, drawn above the dune.
  • classNamestring
    Size it, e.g. h-screen w-full.