Check this out.

https://ncase.me/polygons/