Detecting if a point is inside or outside of a path


my favourite way to see if a point is inside or outside a path, is using its winding number🍥 traverse the path from the perspective of a point and add up the amount of turning along the way if it made a full turn, it’s inside if it wound back to 0, it’s outside it’s so neat~

Published by Bojan Bjelić

Working hard on a positive future. Posting about systems, productivity, digital world. Making processing sketches for a hobby.

Leave a comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.