JavaScript implementation of Craig Reynolds’s path-following algorithm