Search documentation

Find a vivid-layer page or product.

Perlin Noise

A classic animated Perlin noise field with layered two-color texture.

pnpm dlx shadcn@latest add @vivid-layer/perlin-noise

Customize

Proportion
0.35
Softness
0.1
Octave Count
1
Persistence
1
Lacunarity
1.5
Speed
0.5
Scale
1
Rotation
0

API reference

The wrapper adds playback and runtime safeguards while preserving the complete Paper PerlinNoise API. This includes its noise, color, motion, sizing, pixel-ratio, and styling props. See the Paper Perlin Noise reference for the full prop table and accepted ranges.

PropTypeDefaultDescription
playback"auto" | "always" | "paused""auto"Controls motion policy. Auto pauses for reduced motion and while the shader is outside the viewport.
colorFrontstring"#fccff7"Sets the foreground noise color.
colorBackstring"#632ad5"Sets the background color.
width / heightnumber | string"100%"Sets the canvas CSS dimensions. Size the parent element to establish the visible area.
maxPixelCountnumber2073600Caps the rendered pixel budget. Override only after measuring the target devices.

Credits

The rendering engine is Paper Shaders, distributed under the Apache License 2.0. vivid-layer supplies the React adapter, playback policy, documentation, and Registry packaging; it does not vendor or modify Paper's shader source.