2 Likes
Cool!
Interesting. How come there's no little eye in the corner of the embedded window to see the code?
For the polygon block, I'd make that a numeric input, and you could still have the menu but the user could also type in a number in case they want a dodecagon or a heptagon or something.
oops, i will fix that
You could probably create draw regular polygon with %n sides
by figuring out the equation to calculate the angles
Edit: I think the equation is
(180 + ((n-3) * 180)) / n
its 360/n
You are computing the interior angle, as they (I'm guessing) taught you in high school geometry. But the turning angle is different from the interior angle!