block by nitaku 66bbf1d1be8dfc4af8bf74cf1b3a27da

Quaternary numbers for indexing a quadtree

Full Screen

This example uses strings of quaternary digits to generate squares in a quadtree. The string acts as a unique identifier for squares of different size and position.

Click here to compare with a Hilbert displacement.

index.js

index.html

index.coffee

index.css