Let's say you want to draw a hypocycloid (spirograph) with a turtle.
-
The second method is "in the spirit" of turtle drawing... but it's not obvious what the radius is, or even if it will be a full circle or not. I discovered I could reconcile it and made a big mess. (I'm trying to be open minded about programming with blocks but I lowkey hate it. I can't type equations! I have to make them like little snowmen.)
I guess what I want is a procedure to convert from relative drawing to coordinate based drawing like when you go from parametric to functions of x.
I think there might be something in using “mod” for steps with a constant turn (to draw spirograph like patterns) but one of my students got very distracted and made this mess. Delightful isn’t it.
-
I think there might be something in using “mod” for steps with a constant turn (to draw spirograph like patterns) but one of my students got very distracted and made this mess. Delightful isn’t it.
@futurebird oh which tool is this?
-
@futurebird oh which tool is this?
Snap! Build Your Own Blocks
The Snap! Community. Snap! is a blocks-based programming language built by UC Berkeley and used by hundreds of thousands of programmers around the world.
(snap.berkeley.edu)
-
I think there might be something in using “mod” for steps with a constant turn (to draw spirograph like patterns) but one of my students got very distracted and made this mess. Delightful isn’t it.
@futurebird LOVE doing spirographs in block-based coding! With middle schoolers we teach it as a repeated shape off-by-one (so turn 121 degrees to do a triangle spirograph instead of 120 for a repeated triangle, 361 for a square, etc). https://scratch.mit.edu/projects/13505540/editor/
-
@futurebird LOVE doing spirographs in block-based coding! With middle schoolers we teach it as a repeated shape off-by-one (so turn 121 degrees to do a triangle spirograph instead of 120 for a repeated triangle, 361 for a square, etc). https://scratch.mit.edu/projects/13505540/editor/
@bensk Gotta check this out later— are you able to make identical designs with the toy? that’s part of the big idea in all of the activities for grade 5 — connecting physical drawing machines to programming in the hopes that the code ends up feeling like something more tangible.
-
I think there might be something in using “mod” for steps with a constant turn (to draw spirograph like patterns) but one of my students got very distracted and made this mess. Delightful isn’t it.
@futurebird Reminds me of the Euler spiral
-
@futurebird Reminds me of the Euler spiral
@futurebird Also very similar are "partial Gauss sums". It's pure turtle geometry. You keep a count of the number of (constant length) steps you've taken and you turn by its square (or cube etc.) - suitably scaled.
https://www.bennetyee.org/ucsd-pages/pub/Yee-IncGaussSum.pdf