morphogeny

Topographic contour lines generator

Help
0.0 s

Variation
Words

A short line set inside the field.

Type

Where the words sit; the lines break around them.

Format
Any ratiowidthheight

Design choices
View

A map seen from above, or the same lines set at their heights and seen at a slant.

30

How many contour levels from the lowest ground to the highest peak.

Measured on the opening picture, from 10 to 70: pixels on an edge 24% → 54%.

Survey marks

Trig points on the summits, spot heights, a map grid and a dotted path; with heights, small numerals beside them.

Colour

Measured on the opening picture with “Hairline on the ground”: hues besides black, white and grey 0.

Settings

0.2

From gentle hills to dense, steep peaks.

0.85

How high the lines are lifted.

Colour
Finish
Motion
Export
2400 px

Save it, then put it on moving cards with your other work in the Showcase.

One choice at a time

Recommended

Other generators

How it works, the style and using it from code

Hairline contour lines over an invented landscape: a map seen from above with trig points and spot heights, or the same lines lifted into a see-through mesh.

What makes it Contour lines

These are the design choices this generator makes or lets you set. Where a choice says “Measured”, Morphogeny changed that control alone, kept everything else, and measured the picture: a number that moves with the choice, not proof that the picture reads as the style.

  • Airy, generously spaced letters, usually capitals. “Type”: Small capitals, centred.
  • Letters so large they become the picture. “Type”: Headline, left.
  • Perspective, overlap, shadow or parallax create a z-axis. “View”: Lifted mesh.
  • Repeated units create a visual cadence. Set by “Repetition & rhythm”. Measured on the opening picture, from 10 to 70: pixels on an edge 24% → 54%.
  • Charts, maps, isotypes, technical drawings. “Survey marks”: Marks.
  • A single hue, or black and white. “Colour”: Hairline on the ground. Measured on the opening picture with “Hairline on the ground”: hues besides black, white and grey 0.
  • Two or three flat inks. “Colour”: Index lines in an ink. Measured on the opening picture with “Index lines in an ink”: hues besides black, white and grey 1.
  • Image or colour runs off every edge; no protective margins. Always.
  • Repeated lines and modules that vibrate or warp perception. Always.
  • Pure form with no depicted subject. Always.
  • Repeating motifs as the image itself. Always.
  • Decoration rejected; form follows function. Always.

How this generator works

  • Every line is a real contour of one height field (marching squares at evenly spaced levels), so lines never cross, crowd on steep ground and open out over flat ground; every fifth is heavier.
  • The same lines lift into a see-through mesh in perspective, each set at its own height, so overlapping lines make the moiré of an optical field.
  • Marks belong to the terrain: trig points on the highest summits, spot heights read from the ground beneath them, a dotted path halfway between two lines.

What it never does:

  • No real place: the terrain is seeded noise, never a traced map, and the heights are invented.
  • No line runs along the sheet edge and none crosses another; no filled hill shading or colour bands, only lines.
  • Motion only swells the heights a little, so lines breathe in place and never sweep across the picture.

Every picture is a recipe: the variation number and the settings, kept in the page's address. Copy the link and the same picture comes back, in any browser. Random (or R) draws a new variation; ← and → step through them; S shuffles the settings; C borrows another style's colours.

About Topographic contour graphics

Contour lines join the points of a landscape that stand at the same height. Drawn at even steps they show the land without any shading: lines crowd where a slope is steep and open out over a plain. Lifted from the map onto posters, record sleeves and web pages, a field of fine contours on a dark ground has become a graphic texture of its own, and Swiss cultural posters have used warped contour fields to build space that the eye has to decode.

This generator invents a terrain from seeded noise and traces it at evenly spaced heights, so every line is a true contour: none cross, and each level is drawn as a single path. Every fifth line is an index contour, drawn heavier. Seen from above it reads as a map, with trig points on the highest summits, spot heights, a faint map grid and a dotted path along a hillside. Lifted, the same lines are set at their own heights and seen at a slant, a mesh whose overlapping lines turn into moiré.

Your words sit inside the field, as small spaced capitals or a headline at the left, and the lines break around them as a map breaks its contours for a label. In motion the heights swell a little, so the lines breathe in place. The type is Archivo, an open-source variable grotesque, held in the SVG as outlines.

Topographic contour graphics: 1998–today. What the controls mean: Help.

Where contour line graphics come from

Surveyors drew lines of equal depth on harbour charts in the eighteenth century, and lines of equal height on land maps soon after. By the twentieth century they were the standard way to show relief on national survey maps, usually in brown, with every fourth or fifth line drawn heavier and labelled with its height so a reader can count up a slope.

Mountain cartography added shading, coloured height bands and drawn rock, but the lines themselves stayed the backbone. They carry a promise of exact measurement while looking entirely organic, which is why designers borrowed them. Outdoor brands, climbing guides, festival posters and record covers have all used contour fields as a texture, often stripped of colour and set as thin white lines on black.

On screens the look returned in the 2010s as a background for landing pages and title cards: a dark field of hairlines, a few survey marks, and a short line of text set in spaced capitals. Some versions tilt the field into perspective so the lines rise like a wireframe landscape.

How the generator draws the lines

The landscape is a height field made from several layers of smooth noise, gently pushed sideways by another noise so the ridges meander. Its heights are levelled so that each band between two lines covers a similar share of the sheet, which keeps the lines evenly spread rather than bunched in one corner.

The field is then traced by marching squares: each small cell of a grid is checked against every height that crosses it, and the crossing points are joined into lines. Lines that run off the sheet stay open, so nothing traces along the edge. Each height becomes one path, which keeps the file small and a phone quick to draw it.

Terrain moves from broad, gentle hills to ranges with sharp crests, and Repetition & rhythm sets how many heights are drawn, from ten to seventy. In the lifted view, each line is raised by its own height and seen in perspective, and Relief sets how far. Trig points sit on the highest summits of the still terrain, and spot heights read their numbers from the ground under them.

What to make with a topographic background

A dark plan view with a centred line of small capitals makes a hero image for a website, a title card for a talk, or a cover for a running club, a walking guide or an outdoor brand. The lifted mesh with a headline at the left gives a page opening more depth while leaving the words room to read. In a banner or a story format the field fills any shape, and the stand-in setting draws it without words for a picture slot.

Light palettes turn it into a printed map: dark lines on cream, the index lines in one ink, and heights in small numerals. Tinted by height colours each line by its level, low ground in the inks closest to the paper and the peaks in the strongest colour.

Tips for good contour lines

Fewer lines and gentle terrain read best behind text; a dense field with many lines works as a texture on its own. Keep index contours on: the heavier fifth line gives the field a rhythm and a scale. On a small screen, thirty to forty lines are plenty.

For the lifted view, a low relief reads as a calm, rolling surface and a high one as mountains in wireframe. Words at the left suit the mesh, since the land rises towards the middle of the sheet. Try a few seeds: each one is a different landscape.

Use it from code

The recipe below draws the picture this page opens with. Copy recipe gives you the one on screen. Agents can render recipes to SVG or PNG through Morphogeny's MCP server (morphogeny_render); the same recipe always gives the same SVG.

{
  "tool": "contour-lines",
  "v": 1,
  "seed": 2,
  "format": "portrait",
  "params": {
    "words": "Where the land rises",
    "words_on": "centre",
    "view": "plan",
    "terrain": 0.2,
    "lines": 30,
    "index": true,
    "relief": 0.85,
    "marks": "marks",
    "colour": "mono"
  },
  "palette": "swiss-optical-cultural-poster"
}

Open this recipe: /contour-lines/#seed=2&v=1. A plain-text version of this page:/contour-lines.md.