# Geometry : Parquet Polygon Explorer

*Created on October 1, 2022. Last update on October 1, 2022.*

In a previous post, I have generated prisms by extruding parquet polygons. I have also presented all the possible arrangements of the first level of subdivision. I felt that it was lacking some interactivity so I have moved the generating code from Python to JavaScript and here is the result. However, it lacks the alternative arrangements because I am too lazy to code it (with the proper interface) and that there would be too many shapes at higher subdivision levels. The other good part is that I have discovered and corrected some minor bugs. They do not affect the result I have shown already though.

Regarding the symbols, I have discovered a way to use exponent notation in HTML, so I am using that instead of the hat which is more visually helpful.
I have noticed that the exponent on the 0 are equal to the edge length minus 1. There are hidden 0^{0} between consecutive non-zero numbers (the edge length is 1).
So an alternative notation could be the edge lengths separated by the angle values (in degrees) : (3,0,3,0,3,0) is (1,60,1,60,1,60), something similar to a turtle drawing algorithm.
The advantage is that this is general for any polygon since you explicitly specify the vertex angles and edge lengths but it strays off from the original Pryakhin's notation.
You could actually leave out the last edge and angle because the polygon is a closed shape or use them to check the shape.
Such a notation is also independent of the polygon position.
I have developed a similar notation for regular faced polyhedra but the details are for another post.