@paper-design/shaders-react.
Try it
Choose a palette, change scale, and pause the animation to inspect the result. Use the arrow keys on any focused slider for precise adjustments.Code
Initial configuration. The controls above change the preview.Warp.jsx
Parameters
distortion bends the source pattern and swirl adds rotation. The example uses the checks shape with ten swirl iterations.
The canvas is WebGL; the controls are authored for this demo. See the package reference.