Vanta.js
Animated 3D WebGL backgrounds, like birds, fog and waves, for your site in a few lines of code.

What it is
Vanta.js is an open-source JavaScript library that adds moving 3D backgrounds to page sections using WebGL. Effects include flocking birds, fog, waves, connected-dot nets and clouds. On the site you can switch effects, tune colors and motion with a live preview, then paste the handful of generated lines into your project.
Key features
- 3D effects: Birds, fog, waves, nets and more
- Live customizer: Adjust colors and motion right on the site
- A few lines of code: Include the library and you are set
- Mouse interaction: Some effects react to the cursor
Who it's for
Front-end developers and web designers who want a hero section with motion for a brand site, portfolio or event page. Animated backgrounds cost performance, so save them for the sections that matter. Free to use.
Patterns & Backgrounds
- Blobmaker — Drag a few sliders to make organic SVG blob shapes, then download the file or copy the code.
- Grainient — Grainy gradients, animated gradients and AI-generated backgrounds, with unlimited downloads on a subscription.
- SVG Backgrounds — Customizable SVG backgrounds, patterns and website graphics you copy and paste into projects.
- Gradient Magic — A free gallery of unusual CSS gradients, from stripes to checkered layers, ready to copy.
- Pattern Monster — A simple online generator for repeatable SVG patterns you can recolor, scale and export.
- Shadow Palette Generator — Josh Comeau's layered shadow generator for consistent, realistic shadows across elevations.