Connections Project in Java (Simon’s own code)

Simon built another project of his own design. His program allows to draw intricate patterns that resemble Islamic tiling, the building block being a polygon of your choice.

First, you can enter the number of vertices that you wish your polygon to have and the program does the rest: connecting all the vertices inside the polygon. This part of code is also available in JavaScript. Play with Simon’s code here:  https://alpha.editor.p5js.org/simontiger/sketches/Hyr8m59ax

Simon explaining how it works:

Multiple polygons:

Simon later corrected the bug in his code (removed the empty space in between the polygon tiles):

Connections 11 Apr 2017

Advertisements

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