http://roadtolarissa.com/convex-hulls

naive.js - first n³ approch

nlogn.js - Graham's scan

hn.js - Jarvis’ march