Yesterday, I showed you a snowflake. Today, I’m going to try to explain it. [EDIT: There’s a couple of animations at the end, if you’re not interested in the explanation.]

I was inspired by a space-filling curve called the Hilbert curve. I wondered how to define a space-filling curve where the successive approximations were based on a triangular grid, rather than a square grid. So, given a grid like this:we want a path from the bottom-left dot to the bottom right dot (as indicated), passing exactly once through all the other dots in the grid. Continue reading A triangular space-filling curve