Skip to content
ProBackgroundsWebGL

Caustics

The light on a swimming pool floor: nets of focused light that move with the waves, with a slight color dispersion.

Plan
Pro · commercial license
Dependencies
React only
Props
8 (8 adjustable)

Included in Pro and Lifetime. See pricing

Made with Furin: Pill Nav · Metal Button · Copy Morph

Props

PropTypeDefaultDescription
deepColorstring"#03334a"Color of the deep water.
shallowColorstring"#0a8fb0"Color of the water near the surface.
lightColorstring"#b9f6ff"Color of the focused light.
scalenumber2.4Size of the light cells (higher = finer net).
depthnumber1Pool depth: how far apart the colors separate.
intensitynumber1Light brightness (0 to 1.6).
speednumber1Wave speed (1 = normal).
interactivebooleantrueIf true, the light shifts slightly with the cursor.

Installation

With your license

1Set up the Pro registry once

Pro components aren't on npm or in the public shadcn registry: you install them with your license from Furin's private registry.

Use my license

2Install Caustics

npx shadcn@latest add @furin-pro/caustics

Dependencies

React
18 or later
WebGL 2
in the browser
Other libraries
none
License
commercial

Pro components install into your project: the code is yours and there's nothing else to download.

Keep exploring

  • A printed circuit board generated on the fly, with trace bundles, vias and chips. Light pulses travel along the traces and the cursor lights them up.

    Backgrounds

  • Inks on water that the cursor combs, like traditional ebru paper marbling: drops with concentric rings, a multi-tooth comb that drags the ink, cotton paper and a wet sheen.

    Backgrounds

  • Embers that rise and follow the cursor.

    Backgrounds