I wanted to have my own version of this gif : http://flotsam.sellingwaves.com/post/137845201876/24%CF%80 to be able to play with the number of sides of the polygon.