class Polygons

The objects of type Polygons do not do something fancy. They simply collect polygons in an array and call their methods. Yet this is important. As an example, to show all triangles of the dual tiling in blue you could write something like “fill(color(0,0,255)); dualPolygons.showRegular(3);”.

This entry was posted in programming and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s