A real-time fluid simulation as a background. Thick, glossy colour that drifts on its own and drags along behind your cursor. Tune how viscous it feels with one prop.
<GradientMesh
className="absolute inset-0"
colors={["#07070c", "#3b1fff", "#c026ff", "#ffb4e1"]}
viscosity={0.85} gloss={0.6} pointerColor={0.5}
/>Move your cursor.
A full-bleed sheet of silk drifting in a slow breeze. The folds catch a sharp, thread-aligned sheen, the colour shifts at glancing angles, and the cursor presses into the cloth and leaves a wake.
<SilkCloth color="#5b0f22" sheen="#ffb08a" folds={1}>
<h1>Soft power</h1>
</SilkCloth>Liquid chrome. Blobs drift, touch and melt together while mirroring a photo studio and each other. One follows the cursor and drags the rest toward it.
<ChromeMetaballs count={7} tint="#ffffff" goo={0.55} />A glass prism glides after the cursor and leans into its motion, settling at a resting angle when you stop. The type on the wall behind bends and splits into colour through the glass.
<GlassPrism lines={["Light", "bends"]} background="#ebe7df" dispersion={0.6} />Move the cursor around the frame
Sunlight through a swimming pool. A real ripple simulation bends light into a moving caustic network on the floor. The cursor trails ripples; click to splash. Pass any image as the floor.
<Caustics water="#3fb4c9" rain /> // or src="/mosaic.jpg"Any image as a printed halftone: four rotated CMYK screens (or a single ink) that overprint like real ink on paper. A lens under the cursor magnifies the dots and lets the original show through.
<HalftoneFX src="/poster.jpg" cell={4} mode="cmyk" /> // cell = dot pitch in pxHover to look through the lens · switch the screen size · photo: Enes Dogan / Unsplash
A dotted world. Drag to spin and tilt it and it keeps rolling with inertia. Dots light up and ripple under the cursor, pins open a label on hover, and arcs trace routes between them.
<DotGlobe pins={[{ lat: 51.5, lon: -0.12, label: "London" }]} arcs={[[0, 1]]} />Drag to spin · hover a pin