Package micycle.pgs.commons
Class PenroseTiling
java.lang.Object
micycle.pgs.commons.PenroseTiling
Generates a Penrose tiling of the plane.
A Java port of https://openprocessing.org/sketch/183715
- Author:
- Michael Carleton
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEdges()
Returns the edge work of the tiling.processing.core.PShape
Returns raw triangles from the penrose tiling.
-
Constructor Details
-
PenroseTiling
public PenroseTiling(double centerX, double centerY, double radius, int divisions)
-
-
Method Details
-
getEdges
Returns the edge work of the tiling. -
getTriangles
public processing.core.PShape getTriangles()Returns raw triangles from the penrose tiling. Note these are not collapsed (the tiling should consist of quadrangles).
-