4: Comments added! Fixed an incorrect algorithm and made some other minor tweaks. 3: Now supports any n-sided regular polygons! - Fixed a bug where the polygon would drop below the surface occasionally 2: The polygon now settles when no arrow keys are pressed -- A fun 1s1s0c demo. Enjoy! I might make a game out of it. Feel free to remix! Known Bugs - Drawing of large or high-velocity polygons is messed up (this can be fixed with a 480x360 costume, but slows down rendering a lot) - When the polygon settles, it bounces slightly when facing directly up.