Press the Green Flag to draw a stitched octagon.
Enjoy.
Notes & Credits
This example follows the pattern of the previous "stitchedHexagon" project, and extends it to an octagon. Not much visual difference, except that there are many more calculations.