How horizontal slices through a hill create contour lines, and how stacking and projecting them builds a contour map that shows slope and terrain shape.