Kaleidoscope Swirl Shader

Shader 2Pro

A full-screen shader background with kaleidoscope-style rotating shapes, fractal-like patterns, configurable color, and time-based animation.

Shadcn UI Shader Block

Shader2 is a full-screen shader background built with shadcn/ui and React Three Fiber, rendering a kaleidoscope-style pattern with rotating fractal-like shapes. The shader uses iterative coordinate transforms and sine-based math to produce swirling, symmetric forms. A single color prop controls the tint (default purple). Custom vertex and fragment shaders are supported.

Monochromatic with bright highlights and darker recesses. The pattern reads as a kaleidoscope or mandala. Continuous rotation and morphing.

Abstract and hypnotic. The symmetric swirl pattern is distinctive. Low complexity with one color prop.

Dependencies

PackageType
@react-three/fiberNPM
reactNPM
threeNPM