John A. Macdonald was known for doodling on various pieces of paper. He doodled, for example, on a printed sheet showing the resolutions of the Quebec Conference published in 1866. He also doodled in his math notebook. On the left is one artistic example from the notebook.
What if John A had a computer available to him? He could have doodled differently. Here is a program, written by Chris Yiu and George Gadanidis, that doodles with the sides of a right angled triangle, a flight of fancy on what John A could have done with Pythagorasí Theorem.