May I ask how can code using python to check if a given points is within the polygon I drawn using turtle?
The polygon is drawn using a list of coordinates.
May I ask how can code using python to check if a given points is within the polygon I drawn using turtle?
The polygon is drawn using a list of coordinates.
One trick that you can use is to fill your polygon with color and then try to detect that color at the given point location. But the catch is you need to use Tkinter. Here is the link to detect the color at the given location.