NAME
Math::Curve::Hilbert - Perl Implementation of Hilberts space filling Curve
SYNOPSIS
use Math::Curve::Hilbert qw(up down left right);
# get array of coordinates for 4x4 square
my $coords = up ( max=>2, level=>0, x=>0, y=>4, clockwise=>1 );
# print coordinates of the 4th cell on the curve
print "$coords->[4]{X}, $coords->[4]{Y}\n";
DESCRIPTION
The Hilbert Curve module provides some useful functions using Hilberts Space-filling Curve. This is handy for things like Dithering, Flattening n-dimensional data, fractals - all kind of things really.
EXPORT
None by default.
AUTHOR
A. J. Trevena, <teejay@droogs.org>
SEE ALSO
perl.