Package micycle.pgs.commons
Class DoyleSpiral
java.lang.Object
micycle.pgs.commons.DoyleSpiral
Doyle spirals are patterns of non-crossing circles in the plane, each tangent
to six others.
- Author:
- Javascript implementation by Robin Houston, Java port by Michael Carleton
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<processing.core.PVector>
Returns a list of circles comprising the spriral.
-
Constructor Details
-
DoyleSpiral
public DoyleSpiral(int p, int q, double maxRadius)
-
-
Method Details
-
getCircles
Returns a list of circles comprising the spriral. The spiral is centered on (0, 0).- Returns:
- list of PVector circles where .z refers to radius of circle
-