All examples By author By category About

nitaku

Gosper hex tiling (fancy)

Create cells of an hexagonal tiling by following a Gosper space-filling curve (with a fancy animation that sometimes fails to run! If does not work for you, see a simpler example).

This example uses the rendering approach introduced here, and the fractal generation technique introduced here.

The animation should help seeing the path followed by the curve, but ended to be not as clear as I wanted. This is partly because the space-filling curve tend to keep the cells of the sequence near to each other, thus making the colors of the "snake" to have little contrast for adjacent cells.