The `.distance()` method helps for this. The default diameter / extent (call it whatever you want) is 20 pixels, so you'll see this "magic number" often in many of my `turtle` programs (not so much this one, where shapes are more complex). And if you use `.turtlesize()`, which is a multiplicative factor, then 20 * whatever_you_used_in_turtlesize is useful!
Thanks for this it helps me figure out how to code two points touching. Something I was working on in 🐢.
The `.distance()` method helps for this. The default diameter / extent (call it whatever you want) is 20 pixels, so you'll see this "magic number" often in many of my `turtle` programs (not so much this one, where shapes are more complex). And if you use `.turtlesize()`, which is a multiplicative factor, then 20 * whatever_you_used_in_turtlesize is useful!
Heh, cute! Nice demonstration of some of the richer features of the Python turtle.
It’s fun to play, too