What is Paper Shaders?
Paper Shaders offers a curated collection of GPU-accelerated visual effects that run directly in the browser using WebGL2. Each shader is carefully optimized for performance and visual quality, providing smooth animations and stunning graphics without compromising your application’s speed.Zero Dependencies
Pure WebGL implementation with no external dependencies, keeping your bundle size minimal
Framework Support
Available for vanilla JavaScript and React, with community support for other frameworks
Highly Customizable
Every shader comes with extensive parameters to fine-tune colors, animations, and visual properties
Maximum Performance
Optimized for speed with support for static rendering (zero animation cost) and adaptive pixel ratios
Key Features
Wide Variety of Shaders
Paper Shaders includes over 25 different shader effects:- Gradients: Mesh Gradient, Static Mesh Gradient, Static Radial Gradient, Grain Gradient
- Noise & Organic: Perlin Noise, Simplex Noise, Neuro Noise, Smoke Ring
- Patterns: Dot Orbit, Dot Grid, Waves, Voronoi, Halftone Dots, Halftone CMYK
- Effects: God Rays, Liquid Metal, Metaballs, Warp, Swirl, Spiral
- Filters: Water, Fluted Glass, Image Dithering, Heatmap, Paper Texture
- And more: Color Panels, Pulsing Border, Dithering
Visual Design Integration
Designed to work seamlessly with Paper, allowing designers to create and export shader configurations visually without writing code.Responsive & Adaptive
- Automatic canvas sizing to match parent element dimensions
- Adaptive pixel ratio for optimal quality on high-DPI displays
- Configurable maximum pixel count to balance quality and performance
Animation Control
- Adjustable animation speed (including reverse playback)
- Deterministic frame-based rendering for consistent results
- Zero-cost static rendering when
speed={0}
Use Cases
Hero Sections & Backgrounds
Hero Sections & Backgrounds
Create eye-catching animated backgrounds for landing pages and hero sections using shaders like Mesh Gradient, Simplex Noise, or God Rays.
UI Textures & Effects
UI Textures & Effects
Add subtle texture and depth to UI elements with Paper Texture, Grain Gradient, or Halftone effects.
Interactive Visuals
Interactive Visuals
Build dynamic, responsive visuals that react to user interaction or data changes using any animated shader.
Image Filters
Image Filters
Apply real-time image processing effects like Water distortion, Fluted Glass, Image Dithering, or Heatmap overlays.
Loading States
Loading States
Create engaging loading animations with Metaballs, Swirl, or Pulsing Border shaders.
Browser Support
Paper Shaders requires WebGL2 support, which is available in:- Chrome 56+
- Firefox 51+
- Safari 15+
- Edge 79+
Design Philosophy
Paper Shaders is built around four core values:- Lightweight & Performant: Maximum visual impact with minimal performance cost
- Visual Quality: Carefully crafted shaders with attention to aesthetic detail
- Easy to Use: Simple, intuitive APIs with sensible defaults
- Wide Compatibility: Broad browser and device support
License
Paper Shaders uses the PolyForm Shield license. The code is free to use in any commercial or non-commercial apps, products, and libraries, as long as they do not compete with Paper or Paper Shaders. We appreciate links back to Paper Shaders when using this code—it helps us continue investing in the project.Read the Full License
View the complete license terms on GitHub
What’s Next?
Installation
Get started by installing Paper Shaders in your project
Quick Start
Create your first shader in under 5 minutes
