Best background and shader libraries
Written from the tastebase registry, so it changes when an entry does.
These are the background and shader libraries we would reach for, in that order. Each one is in tastebase because it does one job well; the table says which job.
Paper Shaders leads: zero-dependency WebGL shader backgrounds: mesh gradients, grain, dithering, liquid metal and more. If it doesn't fit, ShaderGradient is the next pick: animated 3D gradient planes and spheres, designed in a web editor and pasted in as a URL.
8 picks

Paper Shaders
Zero-dependency WebGL shader backgrounds: mesh gradients, grain, dithering, liquid metal and more.
ShaderGradient
Animated 3D gradient planes and spheres, designed in a web editor and pasted in as a URL.
tsParticles
Configurable canvas particle systems: links, confetti, fireworks, snow, cursor interactions.
OGL
Minimal WebGL library (about a tenth of three.js) for custom shader effects.
Canvas UI
WebGL and WebGPU effects (liquid, glass, frost, glitch, particles) drawn over live, still-interactive HTML.
ASCII Magic Art
734 ready-made animated ASCII scenes (landscapes, loaders, charts, mascots) as one web component or ES modules.
Piixpal
Pixel creatures that live on a page: they crawl on headings, perch on buttons and bounce on footers.
Shaders
Composable GPU effect components for React, Vue and Svelte, stacked as layers in one canvas.
Compared
Questions
What is the best background library?
Paper Shaders: zero-dependency WebGL shader backgrounds: mesh gradients, grain, dithering, liquid metal and more. Reach for it for hero background with a slow mesh or grain gradient behind headline text.
Which of these are completely free?
Paper Shaders, ShaderGradient, tsParticles, OGL, Canvas UI, ASCII Magic Art and Piixpal. The rest are free to start with a paid tier.
Do these work outside React?
Yes, every one of them ships for at least one other framework, such as plain JavaScript, Vue, Svelte and Solid.