polygonize-it Polygonize-it is a small library for drawing polygons on canvas. Demo https://perf2k2.github.io/projects/poligonize-it.html Install Include script on page: <script src="/js/polygonize-it.min.js"></script> Usage Please see examples/basic.html for code. License MIT