Static Mesh Gradient
Installation
npm i @paper-design/shaders-react
Code
import { StaticMeshGradient } from '@paper-design/shaders-react';
<StaticMeshGradient
width={1280}
height={720}
colors={["#cc3333", "#cc9933", "#99cc33", "#33cc33"]}
positions={2}
waveX={1}
waveXShift={0.6}
waveY={1}
waveYShift={0.21}
mixing={0.93}
grainMixer={0}
grainOverlay={0}
rotation={270}
/>
Shader Props
Common Props
Description
Multi-point mesh gradients with up to 10 color spots, enhanced by two-direction warping, adjustable blend sharpness, and grain controls. Perfect for elegant wallpapers and atmospheric backdrops.