Warp
Installation
npm i @paper-design/shaders-react
Code
import { Warp } from '@paper-design/shaders-react'; <Warp width={1280} height={720} colors={["#cc3333", "#cc9933", "#99cc33", "#33cc33"]} proportion={0.45} softness={1} distortion={0.25} swirl={0.8} swirlIterations={10} shape="checks" shapeScale={0.1} speed={1} />
Shader Props
Common Props
Description
Animated color fields warped by noise and swirls, applied over base patterns (checks, stripes, or split edge). Blends up to 10 colors with adjustable distribution, softness, distortion, and swirl. Great for fluid, smoky, or marbled effects.