This project demonstrates a simple procedure for drawing the Hilbert curve, or at the very least a finite representation of it. https://en.wikipedia.org/wiki/Hilbert_curve The algorithm used is a Lindenmayer or L-system, which is a very simple way of producing iterative fractal-like structures. https://en.wikipedia.org/wiki/L-system