I painted a Landscape with Mathematics

Inigo QuilezLength: 42 minutesComputer graphics & rendering

In brief

Inigo Quilez live-paints a mountain landscape using only math in a shader, building up from a basic polynomial noise surface through fractal terrain, lighting and atmosphere. The code runs in real time on Shadertoy so viewers can edit it as they follow along.