Friday, December 23, 2022

I meant to get something done with the atan2 function, but I dillydallied....
I want to use atan2 in javascript to build what are basically triangle fans! Start with one blob polygon then pick a point outside of this shape and get the angles from this point to the points of my blob, from least to greatest radians and use them to start another round blob shape.

No comments:

Post a Comment