Skip to content
Backgrounds48 / 118

Particle Sea

A dark ocean of glowing particles under a black sky, filmed with a real lens. Rows of fine cyan particles ride slow rolling swells, the crests catching the light, and the shot has true depth of field: a band of the sea sits crisp in focus, the far rows melt into a soft haze and the nearest rows swell into big, soft bokeh. It moves like real water: your cursor trails a wake across the surface and the rings spread and die out, a click drops a stone into the sea, and the lens racks focus to wherever your cursor touches the water. Scrolling glides you forward over the swells, coasting on with momentum before easing back to a slow drift, and on load the sea rises out of the dark.

WebGL2Real depth of fieldWave-equation waterHDR bloomScroll glideReduced-motion safe
Trail a wakeClick to drop a stone

Tweak

LIVE

Sea

#2fb8e6
#c8f6ff
#000000
1.00
1.00
1.00

Lens

1.00
0.45
0.48
0.70

Interactive

Trail a wake with the cursor, click to drop a stone, scroll to glide

Props

14 props
  • colorstring
    Colour of the particles.default "#2fb8e6"
  • highlightstring
    Colour the crests and ripples catch.default "#c8f6ff"
  • backgroundstring
    Sky and deep background.default "#000000"
  • densitynumber
    How many particles (1 is about a hundred thousand on a desktop screen).default 1
  • wavesnumber
    Height of the swells.default 1
  • speednumber
    Speed of the swells and the idle drift.default 1
  • blurnumber
    Lens aperture: how strongly the near and far rows blur.default 1
  • focusnumber
    Where the lens focuses when idle, 0 near to 1 far.default 0.45
  • horizonnumber
    Where the horizon sits, 0 top to 1 bottom.default 0.48
  • glownumber
    Strength of the bloom.default 0.7
  • interactiveboolean
    Cursor wake, click drop, focus pull, scroll glide.default true
  • scrollerElement | null
    Scroll container, if the page does not scroll the window.
  • childrenReactNode
    Foreground content, drawn above the sea.
  • classNamestring
    Size it, e.g. h-screen w-full.