Morse theory: for a generic smooth function f, the topology of sublevel sets {f ≤ t} changes only at critical points.
Euler characteristic χ = #min − #saddle + #max. Gradient flow connects critical points.
Color: blue=low, red=high. White contour = current level set.