The map begins with a grid. Each cell has a height, computed from a few overlapping hills and a slow ripple. I draw a character when the height approaches a contour line. The hills are imaginary, so the drawing can stay small and render with the rest of the page.
Giving the contours room
At a small font size, a short dash and a dot read very differently. I use the lighter symbols at the edges of a ridge and save brighter marks for a handful of points. On a narrow screen, the map is cropped so the characters stay legible.
A short strip can show a different part of the same map by sampling the field at another scale.