NAME
Math::PlanePath::DragonMidpointArms -- four dragon curves
SYNOPSIS
use Math::PlanePath::DragonMidpointArms;
my $path = Math::PlanePath::DragonMidpointArms->new;
my ($x, $y) = $path->n_to_xy (123);
DESCRIPTION
This is four arms of ...
FUNCTIONS
$path = Math::PlanePath::DragonMidpointArms->new ()-
Create and return a new path object.
($x,$y) = $path->n_to_xy ($n)-
Return the X,Y coordinates of point number
$non the path. Points begin at 0 and if$n < 0then 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.