Swirl
Installation
npm i @paper-design/shaders-react
Code
import { Swirl } from '@paper-design/shaders-react';
<Swirl
width={1280}
height={720}
colors={["#cc3333", "#cc9933", "#99cc33"]}
colorBack="#330000"
bandCount={4}
twist={0.1}
center={0.2}
proportion={0.5}
softness={0}
noise={0.2}
noiseFrequency={0.4}
speed={0.32}
/>
Shader Props
Common Props
Description
Animated bands of color twisting and bending, producing spirals, arcs, and flowing circular patterns.