Tag: p5js
-
Port/contact
View on Instagram https://instagr.am/p/CDesbGYHQDc/ -
OGT ntom/ present
View on Instagram https://instagr.am/p/CDXJQajH-3E/ -
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~
