#148 — Gift Wrapping Algorithm
Back
In this coding challenge, I implement the “Gift Wrapping algorithm” (aka Jarvis march) for calculating a convex hull in JavaScript. This is a foundat ...
Wikipedia page about the Gift Wrapping Algorithm
Wikipedia page about the Cross Product
Array.prototype.splice() reference on MDN
JavaScript tutorial on ES6 Arrow Functions