One line
Pick a figure and trace it from corner to corner: can you draw it in one line, without lifting the pen or going over a line twice? Count the lines at each corner. It works if every count is even, or if exactly two are odd and you start at one of them, and never otherwise; Leonhard Euler found the rule in 1736, from the seven bridges of Königsberg.
On paper
- Put a dot on every corner of your drawing: every loose end, and every point where lines meet or branch. A place where two lines simply cross would count 4, which is even, so you can leave it out.
- At each dot, count the lines that leave it and write the number beside it. A loop that leaves a dot and comes back to it counts 2.
- Circle the odd numbers. You will always find an even number of them, because every line has two ends.
- If the drawing is in one piece and no number is odd, start at any dot: you will finish where you began. If exactly two are odd, start at one of them: you will finish at the other.
- As you draw, never take a line that would cut off the lines you have not drawn yet, unless it is the only one left. Follow that and you will not get stuck.
- Four or more odd numbers: stop. No single line can do it, however you try. With 4 odd corners you need 2 separate lines, with 6 you need 3.
Our design Salt & Sun draws the wave, the sun and the horizon in one continuous line. Any single line with two loose ends has exactly two odd corners: where it starts and where it stops. Printed to order on canvas, tees, hoodies, totes, mugs and all-over prints.
The figures here are idealised as dots and the lines between them, and every line runs from one dot to another. The wave and sun is our own figure in the spirit of the print, not a copy of it. Königsberg is drawn as a plan of four pieces of land and seven bridges, not as a map. The rule needs the figure to be in one piece, which every figure here is.
© 2026 Abidance Technologies Inc. All rights reserved. The designs, this page and its code are ours; please link to it rather than copy it.