Fragment
Fragment shaders, also called pixel shaders: a small program that runs once for every pixel and returns its color. Most of what you see on screen starts here.
30 shaders

Soap Bubble
Thin-film interference, color from a film's thickness

Lava Flow
Flow noise, a cooling crust, color from temperature

Wind Chimes
Modal synthesis: struck tubes ring with their own partials

Menger Sponge
Folding space into a fractal, a box cut again and again

Sunset
Rayleigh and Mie scattering, a sky from the air it passes through

Clockwork
Gears from 2D distance fields, teeth that mesh, ratios that loop

Stained Glass
Voronoi panes, lead lines, light colored by the glass it passes

Black Hole
Rays bent by gravity, an accretion disk, Doppler color

Lightning
Branching bolts by midpoint displacement, glow, thunder that arrives late

Pulse Synth
FM synthesis and envelopes, a picture drawn from its own waveform

Rain on Glass
Refraction through drops on a window, a blurred world behind

Aurora
Thin noise curtains marched through, stars

Neon Sign
2D distance-field strokes, glow, flicker

Wood & Marble
Solid procedural textures, noise that tiles

Mandelbulb
3D fractals, distance estimators, orbit-trap color

Smoke Stack
Volumetric clouds: light marching, self-shadowing, scattering

Kiln Floor Tiles
Hex grids, Truchet tiles, wallpaper symmetry

Pottery Wheel
Solids of revolution, twisting, a glaze material

A Shader That Keeps the Beat
A sequencer in the sound, the picture synced to it

Glass Orb
Refraction, reflection, Fresnel

Endless Terrain
Heightfield raymarching, sky, sun, distance fog

Ember Tunnel
Domain repetition, fog, an endless fly-through

Kiln Fire
Volume raymarching through noise, emission

Fractal Glow
Complex numbers, Julia sets, smooth iteration color

Molten Metaballs
3D smooth blending, soft shadows, ambient occlusion

Cracked Clay
Voronoi noise, cell edges, bump lighting

Kaleidoscope
Polar coordinates, angular repetition, mirror folds

Floating 3D Scene
Raymarching, normals, basic lighting

Morphing Shapes
2D signed distance fields and smooth blending

Flowing Color Field
Coordinates, time, noise, color palettes