Clockwise check demo
Code sample showcasing the path.clockwise() function which returns true when the path is clockwise and false when the path is counter-clockwise. Code sample includes some extra code visualising the direction of the path segments.