Signal processing · real-time graphics
Sampling
Why a smooth field turns blocky, jagged or banded on screen
Sampling
Each square is one sample; detail between samples is lost
Drag the mould: at 12 across, its thin veins to the oat flakes blink as they cross sample points.
Reconstruction
Three filters fill the gaps between the same samples
Drag the mould: where a thin vein falls between samples, no filter brings its peak back.
Aliasing · the Nyquist limit
Under two samples per ring, the samples trace a false wave
Slide toward fine rings: under 2 per ring, the on-screen wave turns wider and can even run inward.
Anti-aliasing
Averaging samples inside each square fades the false rings
Switch from 1 to 16 per square: the grid still cannot show rings this fine, so they fade toward an even glow.
Quantisation
Too few levels make bands
Few levels: the bands crawl as the glow moves. Dithered mixes the two nearest levels into fine grain.
Recap