NAME

Math::PlanePath::MathImageQuintetCentres -- Mandelbrot quintet "cross" curve

SYNOPSIS

use Math::PlanePath::MathImageQuintetCentres;
my $path = Math::PlanePath::MathImageQuintetCentres->new;
my ($x, $y) = $path->n_to_xy (123);

DESCRIPTION

This path is an integer version of the ...

 ^
X=0 1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 ...

FUNCTIONS

$path = Math::PlanePath::MathImageQuintetCentres->new ()

Create and return a new path object.

($x,$y) = $path->n_to_xy ($n)

Return the X,Y coordinates of point number $n on the path. Points begin at 0 and if $n < 0 then the return is an empty list.

Fractional positions give an X,Y position along a straight line between the integer positions.

$n = $path->n_start()

Return 0, the first N in the path.

SEE ALSO

Math::PlanePath, Math::PlanePath::Flowsnake