Skip to content
Backgrounds42 / 118

Prism Slick

Black liquid chrome, its highlights split into prism colours like oil on water. A real photograph brought to life with a detailed depth map of its relief: every swell, ridge and contour ring of the liquid. The surface breathes and flows, its highlights sliding along the real tubes of liquid, while a soft light travels across it and breaks into cyan and gold with red and violet fringes, traced separately for each colour. Your cursor pushes the liquid itself: it smears along your stroke, fanning into a prism spectrum, blooms with an oil-slick rainbow where it is disturbed, and wobbles back like thick mercury. A click drops a droplet that craters the surface and sends rings out; press and hold to open a swirling gravity well that sucks the liquid in, then let go and it splashes back. The depth map gives true 2.5D parallax, the cursor is a lamp raking the relief in prism colours, scrolling stretches the liquid and speeds the flow, and on load the surface rises out of the dark as the light sweeps across it. Bring your own photo, depth map and normal map to make it yours.

WebGL2Real photoDepth parallaxReal dispersionReal bloomGSAPReduced-motion safe
Push the liquidClick, or hold for a well

Tweak

LIVE

Light

#7ff0ff
#ffd45a
1.00
1.00

Motion

1.00
1.00
1.00

Interactive

Parallax, liquid lens and prism lamp at the cursor, click for ripples

Lens

0.45
1.00

Props

17 props
  • imagestring
    The photo.default "/backgrounds/prism-slick/slick.jpg"
  • depthImagestring
    Its depth map, white = near (parallax and the breathing).default "/backgrounds/prism-slick/depth.png"
  • normalImagestring
    Its normal map (tangent space, +Y up), for the light.default "/backgrounds/prism-slick/normal.jpg"
  • cyanstring
    The cool light colour.default "#7ff0ff"
  • goldstring
    The warm light colour.default "#ffd45a"
  • flownumber
    How much the liquid breathes and flows.default 1
  • speednumber
    Speed of all the motion.default 1
  • glossnumber
    Strength of the light raking the relief.default 1
  • dispersionnumber
    Strength of the prism fringes on that light.default 1
  • parallaxnumber
    Depth parallax strength.default 1
  • glownumber
    Strength of the bloom on the highlights.default 0.45
  • fitnumber
    How much of the screen width the photo spans (1 = cover); below 1 the liquid continues as a mirror image.default 1
  • backgroundstring
    Shown while the photo loads.default "#000204"
  • interactiveboolean
    Parallax, lens and lamp at the cursor, click ripples, scroll flow.default true
  • scrollerElement | null
    Scroll container, if the page does not scroll the window.
  • childrenReactNode
    Foreground content, drawn above the liquid.
  • classNamestring
    Size it, e.g. h-screen w-full.