Start here
New to shaders: one of each kind, from a first picture made of coordinates to shapes, a scene in 3D, particles, a surface made of triangles and a sound.
Take them in this order: each one uses what the ones before it showed.
Sign in and the exercises you pass are marked here. Nothing is kept otherwise.
- Step 1 of 8
Flowing Color Field
A field of noise folded over itself and run through a kiln-heat palette, with a pad and wind generated by the same shader.
Teaches: Coordinates, time, noise, color palettes
Read the page Open in the playground
5 exercises
- Noise Make this step · passed
- Folding the field over itself Make this step · passed
- The kiln palette Finish it · passed
- Match the sliders Find the values · passed
- Find the bug Put it right · passed
- Step 2 of 8
Morphing Shapes
A circle, a box and a triangle drawn only from their distance functions, morphing into each other while three small circles orbit and melt into them, with a chord whose wave changes shape with the picture.
Teaches: 2D signed distance fields and smooth blending
Builds on Flowing Color Field
Read the page Open in the playground
6 exercises
- Seeing the distance Make this step · passed
- Morphing Make this step · passed
- Melting shapes together Make this step · passed
- Heat and glow Finish it · passed
- Match the sliders Find the values · passed
- Find the bug Put it right · passed
- Step 3 of 8
Kaleidoscope
A few glowing shapes drifting through one thin wedge of the screen, repeated and mirrored around the center like colored glass in a kaleidoscope, with a pattern of notes that the right ear hears in a mirror.
Teaches: Polar coordinates, angular repetition, mirror folds
Builds on Flowing Color Field, Morphing Shapes, Floating 3D Scene
Read the page Open in the playground
6 exercises
- Slices of a circle Make this step · passed
- Mirrors Make this step · passed
- A twist and a zoom Make this step · passed
- Kiln glass Finish it · passed
- Match the sliders Find the values · passed
- Find the bug Put it right · passed
- Step 4 of 8
Cracked Clay
A floor of drying clay split into pieces by Voronoi cells, the fire glowing through the cracks, the pieces lit by a lamp that circles them, and a crackle in the sound built the same way the cells are.
Teaches: Voronoi noise, cell edges, bump lighting
Builds on Flowing Color Field, Floating 3D Scene
Read the page Open in the playground
6 exercises
- Edges become cracks Make this step · passed
- A height for every pixel Make this step · passed
- Bump lighting Make this step · passed
- Fired clay Finish it · passed
- Match the sliders Find the values · passed
- Find the bug Put it right · passed
- Step 5 of 8
Floating 3D Scene
A sphere, a ring and a tumbling box floating in the dark, drawn by marching a ray through every pixel and lit by which way each surface faces, with a chord in which every shape has a voice.
Teaches: Raymarching, normals, basic lighting
Builds on Flowing Color Field, Morphing Shapes
Read the page Open in the playground
6 exercises
- A scene of shapes Make this step · passed
- Which way the surface faces Make this step · passed
- Light Make this step · passed
- Kiln light Finish it · passed
- Match the sliders Find the values · passed
- Find the bug Put it right · passed
- Step 6 of 8
Particle Swarm
Two hundred thousand sparks in a buffer on the GPU, moved sixty times a second by a compute kernel, chase their places on crossing spiral arms around a leader that wanders the picture; they burn down and are born again beside it, leave streaks behind them, and buzz like a swarm of bees that follows the leader across the stereo field.
Teaches: Compute shaders and GPU buffers
Builds on Flowing Color Field, Cracked Clay, Ember Tunnel
Read the page Open in the playground
6 exercises
- One step at a time Make this step · passed
- A place of its own Make this step · passed
- Trails and a leader Make this step · passed
- Particle swarm Finish it · passed
- Match the sliders Find the values · passed
- Find the bug Put it right · passed
- Step 7 of 8
Rippling Water
Rain on still water under a sky lit like a kiln. The first episode drawn by a vertex shader, it lifts every corner of a 320 by 320 grid to the height of the water there. Each drop starts a band of rings that spreads, weakens and fades, the rings add up where they cross, a slow swell rolls under them, and the surface mirrors the sky as much as its angle allows. Every ring starts with a plink of its own.
Teaches: A vertex shader displacing a grid
Builds on Cracked Clay
Read the page Open in the playground
6 exercises
- One ring Make this step · passed
- Raindrops Make this step · passed
- A mirror of the sky Make this step · passed
- Rippling water Finish it · passed
- Match the sliders Find the values · passed
- Find the bug Put it right · passed
- Step 8 of 8
A Shader That Keeps the Beat
A drum machine drawn as a clock. Four rings of sixteen cells, one ring for each instrument, and a hand that sweeps round once a bar; where it passes a lit cell, that drum plays and the cell flashes. The sound and the picture are never told about each other. Both work out the same pattern and the same clock from the time, so they can't drift apart.
Teaches: A sequencer in the sound, the picture synced to it
Builds on Kaleidoscope
Read the page Open in the playground
5 exercises
- Four tracks and a pattern Make this step · passed
- Swing and dice Make this step · passed
- Keeping the beat Finish it · passed
- Match the sliders Find the values · passed
- Find the bug Put it right · passed
Other paths Noise & Texture Shapes & Symmetry 3D Scenes Particles & Simulation Light & Materials Atmosphere Fractals Geometry Sound & Rhythm







