All 100 GLSL lessons
Ten sections of ten lessons each. You start with a single color and finish with a solar system; every lesson runs live on your GPU, in your browser.
The ten sections
- GLSL for beginnersColor, coordinates and time, from the first pixel to a tunnel of light.
- Shader patternsStripes, grids, polar coordinates, spirals, mirrors and Chladni plates.
- Forces in a shaderTime applied to coordinates: gravity, wind, vortex, turbulence, ripples.
- Noise in GLSLFrom raw randomness to FBM, terrain and a noise sphere.
- Domain warpingOne warp, many skins: giraffe, camo, wood, marble, liquid metal.
- Shader animationBreathing, phase, easing, morphs, flow fields and the seamless loop.
- Strange attractors on the GPUThe Aizawa attractor: an ODE, Euler, and 130,000 particles on the GPU.
- Ray marching in GLSL3D with distances: rays, SDFs, normals, light, shadows and materials.
- Fractals in GLSLz = z² + c: the complex plane, escape coloring, Julia sets and deep zoom.
- The Solar System in GLSLFrom the Sun to Neptune: exact spheres, light, clouds, rings, air and Kepler.