Square roots, one digit at a time
Irrational numbers and their endless decimals, visualised one digit at a time.



The idea
Take a square with an area of 2. How long is its side? That length is the square root of 2, and like almost every square root it is not a tidy number: its decimals go on forever without repeating. The site draws that side one digit at a time, each digit a smaller box that still fits.
The UX challenge
The real question behind the page is how precise you need to be. After a few digits the boxes are smaller than a millimetre, then smaller than a cell, then smaller than an atom. The page had to keep the reader oriented while zooming through thirty-five orders of magnitude, so the question never gets lost in the numbers.
How it works
The square fills with boxes one digit at a time, and each new digit is compared with things you know, all the way down to the Planck length, where a smaller box stops making physical sense.
To do
Redo all the illustrations.