The packages
An effect you copy imports from these. All five are live on npm: pure WGSL, functions only, every exported signature documented.
- @vshaders/sdfdocs
Signed distance field primitives and operators.
/2d · /3d · /ops
- @vshaders/colordocs
OKLab and OKLCH conversions, perceptual mixing, cosine palettes.
/oklab · /palette
- @vshaders/ditherdocs
Ordered Bayer dithering: thresholds and quantizers.
/ordered
- @vshaders/easedocs
Easing curves and motion-shaping functions.
/easing · /shape
- @vshaders/fluiddocs
Stable Fluids simulation kernels: advection, projection, vorticity, splats.
/advect · /project · /splat · /vorticity