@kriesl/2d-hilbert-curve

Two way 2d hilbert curve mapping for a square divided into n by n cells, for n a power of 2, with integer coordinates

hilbert

A module that computes Hilbert space-filling-curve coordinates in 2- or 3-dimensions.