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):
