class Polygons{ Polygon[] polygons; Polygons(){ polygons=new Polygon[0]; } void addPolygon(Polygon p){ polygons=(Polygon[])(append(polygons,p)); } void show(){ for (int i=0;i<polygons.length;i++){ polygons[i].show(); } } void showRegular(int nCorners){ // polynoms with nCorners for (int i=0;i<polygons.length;i++){ polygons[i].showRegular(nCorners); } } void showRhomb(float angle){ //rhombs with given angle float cosAngle=cos(angle); println(cosAngle); for (int i=0;i<polygons.length;i++){ polygons[i].showRhomb(cosAngle); } } void createDualPoints(Points dualPoints,Lines dualLines){ for (int i=0;i<polygons.length;i++){ polygons[i].createDualPoint(dualPoints,dualLines); } } }

Recent Posts
 A rosette in a roman mosaic is an exponential transform of a periodic tiling
 Fractal tiling of a sphere with octahedral twocolour symmetry
 A fractal tiling of both octahedral and icosahedral symmetry
 A variant of the Apollonian gasket with icosahedral symmetry
 Apollonian gasket as a fractal in tiled hyperbolic space
Recent Comments
Archives
 September 2019
 August 2019
 July 2019
 April 2019
 March 2019
 November 2018
 October 2018
 September 2018
 August 2018
 March 2018
 February 2018
 January 2018
 December 2017
 November 2017
 September 2017
 August 2017
 July 2017
 June 2017
 May 2017
 February 2017
 January 2017
 November 2016
 February 2014
 January 2014
 December 2013
 November 2013
 October 2013
 September 2013
 August 2013
 May 2013
 April 2013
 March 2013
 February 2013
 January 2013
 December 2012
 November 2012
 October 2012
 September 2012
 August 2012
 July 2012
 June 2012
 May 2012
 April 2012
Categories
Meta