block by nitaku 7015186

Gosper hex tiling (fancy)

Full Screen

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.

index.js

index.html

index.coffee

index.css

index.sass