Monster curves (space-filling-curves) are fractals used in space filling graphics and mapping applications. This class provides a pure PHP implementation of the Hilbert curve fractals. It generates points of an Hilbert curve and returns the point in an array. The class implements also the Moore curve and the Morton curve.
Sourcecode: