This is a base class for some mathematical paths which map an integer position '$n' to and from coordinates '$x,$y' in the 2D plane.
The current classes include the following. The intention is that any 'Math::PlanePath::Something' is a PlanePath, and supporting base classes or related things are further down like 'Math::PlanePath::Base::Xyzzy'.
SquareSpiral foursided spiral PyramidSpiral square base pyramid TriangleSpiral equilateral triangle spiral TriangleSpiralSkewed equilateral skewed for compactness DiamondSpiral foursided spiral, looping faster PentSpiral fivesided spiral PentSpiralSkewed fivesided spiral, compact HexSpiral sixsided spiral HexSpiralSkewed sixsided spiral skewed for compactness HeptSpiralSkewed sevensided spiral, compact AnvilSpiral anvil shape OctagramSpiral eight pointed star KnightSpiral an infinite knight's tour CretanLabyrinth 7circuit extended infinitely SquareArms fourarm square spiral DiamondArms fourarm diamond spiral AztecDiamondRings foursided rings HexArms sixarm hexagonal spiral GreekKeySpiral square spiral with Greek key motif MPeaks "M" shape layers SacksSpiral quadratic on an Archimedean spiral VogelFloret seeds in a sunflower TheodorusSpiral unit steps at right angles ArchimedeanChords unit chords on an Archimedean spiral MultipleRings concentric circles PixelRings concentric rings of midpoint pixels FilledRings concentric rings of pixels Hypot points by distance HypotOctant first octant points by distance TriangularHypot points by triangular distance PythagoreanTree X^2+Y^2=Z^2 by trees PeanoCurve 3x3 selfsimilar quadrant PeanoDiagonals across unit squares WunderlichSerpentine transpose parts of PeanoCurve HilbertCurve 2x2 selfsimilar quadrant HilbertSides along sides of unit squares HilbertSpiral 2x2 selfsimilar wholeplane ZOrderCurve replicating Z shapes GrayCode Gray code splits WunderlichMeander 3x3 "R" pattern quadrant BetaOmega 2x2 selfsimilar halfplane AR2W2Curve 2x2 selfsimilar of four parts KochelCurve 3x3 selfsimilar of two parts DekkingCurve 5x5 selfsimilar, edges DekkingCentres 5x5 selfsimilar, centres CincoCurve 5x5 selfsimilar ImaginaryBase replicate in four directions ImaginaryHalf halfplane replicate three directions CubicBase replicate in three directions SquareReplicate 3x3 replicating squares CornerReplicate 2x2 replicating "U" LTiling selfsimilar L shapes DigitGroups digits grouped by zeros FibonacciWordFractal turns by Fibonacci word bits Flowsnake selfsimilar hexagonal tile traversal FlowsnakeCentres likewise but centres of hexagons GosperReplicate selfsimilar hexagonal tiling GosperIslands concentric island rings GosperSide single side or radial QuintetCurve selfsimilar "+" traversal QuintetCentres likewise but centres of squares QuintetReplicate selfsimilar "+" tiling DragonCurve paper folding DragonRounded paper folding rounded corners DragonMidpoint paper folding segment midpoints AlternatePaper alternating direction folding AlternatePaperMidpoint alternating direction folding, midpoints TerdragonCurve ternary dragon TerdragonRounded ternary dragon rounded corners TerdragonMidpoint ternary dragon segment midpoints AlternateTerdragon alternate ternary dragon R5DragonCurve radix5 dragon curve R5DragonMidpoint radix5 dragon curve midpoints CCurve "C" curve ComplexPlus base i+realpart ComplexMinus base irealpart, including twindragon ComplexRevolving revolving base i+1 SierpinskiCurve selfsimilar righttriangles SierpinskiCurveStair selfsimilar righttriangles, stairstep HIndexing selfsimilar righttriangles, squared up KochCurve replicating triangular notches KochPeaks two replicating notches KochSnowflakes concentric notched 3sided rings KochSquareflakes concentric notched 4sided rings QuadricCurve eight segment zigzag QuadricIslands rings of those zigzags SierpinskiTriangle selfsimilar triangle by rows SierpinskiArrowhead selfsimilar triangle connectedly SierpinskiArrowheadCentres likewise but centres of triangles Rows fixedwidth rows Columns fixedheight columns Diagonals diagonals between X and Y axes DiagonalsAlternating diagonals Y to X and back again DiagonalsOctant diagonals between Y axis and X=Y centre Staircase stairs down from the Y to X axes StaircaseAlternating stairs Y to X and back again Corner expanding stripes around a corner CornerAlternating expanding up and down around a corner PyramidRows expanding stacked rows pyramid PyramidSides along the sides of a 45degree pyramid CellularRule cellular automaton by rule number CellularRule54 cellular automaton rows pattern CellularRule57 cellular automaton (rule 99 mirror too) CellularRule190 cellular automaton (rule 246 mirror too) UlamWarburton cellular automaton diamonds UlamWarburtonQuarter cellular automaton quarterplane DiagonalRationals rationals X/Y by diagonals FactorRationals rationals X/Y by prime factorization GcdRationals rationals X/Y by rows with GCD integer RationalsTree rationals X/Y by tree FractionsTree fractions 0<X/Y<1 by tree ChanTree rationals X/Y multichild tree CfracDigits continued fraction 0<X/Y<1 by digits CoprimeColumns coprime X,Y DivisibleColumns X divisible by Y WythoffArray Fibonacci recurrences WythoffPreliminaryTriangle PowerArray powers in rows File points from a disk file
And in the separate MathPlanePathToothpick distribution
ToothpickTree pattern of toothpicks ToothpickReplicate same by replication rather than tree ToothpickUpist toothpicks only growing upwards ToothpickSpiral toothpicks around the origin LCornerTree Lshape corner growth LCornerReplicate same by replication rather than tree OneOfEight HTree H shapes replicated
The paths are object oriented to allow parameters, though many have none. See 'examples/numbers.pl' in the MathPlanePath sources for a sample printout of numbers from selected paths or all paths.
Package Version  Update ID  Released  Package Hub Version  Platforms  Subpackages 

129bp155.2.8 info  GA Release  20230517  15 SP5 


129bp154.1.14 info  GA Release  20220509  15 SP4 


126bp153.1.12 info  GA Release  20210306  15 SP3 


126bp152.3.12 info  GA Release  20200416  15 SP2 


126bp151.3.1 info  GA Release  20190718  15 SP1 


126bp151.2.10 info  GA Release  20190518  15 SP1 


126bp150.2.4 info  GA Release  20180730  15 

