Skip to main content
Package: @paper-design/shaders-react.
Parameters
0.40
0.60
3.00
0.00
0°

Try it

Change the palette, then compare a small scale with a large one. Pause to inspect the texture. The controls use the package’s actual shader parameters.

Code

Initial configuration. The controls change the preview above.
Dithering.jsx

Parameters

size changes the pixel grid. type chooses the dither matrix; try "random", "2x2", or "8x8" in your own component. shape changes the underlying field. The preview honors reduced motion and includes a pause control. See the Paper Shaders reference.