Here’ some code I whipped up as another example of Top Down Design & Abstraction.
The terms INCREMENTAL and ITERATIVE are tough to explain unless you show them what the code looks like in stages with perhaps the definition and calls of the functions but without the details of the definitions.
This code focuses on SIZE being a parameter so the proportions stay the same in a complex drawing.
Tribute to Spongebob
Disclaimer: This code was not originally intended to be shared with this forum.
I also have been focusing more on functions in the turtle unit. Students can make a TON of functions using just turtle commands, but I feel like they don’t totally get it yet - esepcially when it comes to parameters. This year, I made each student have one function with a parameter that THEY WROTE in their scene - so one per student in each scene. That helped but we are doing extra practice now with functions and parameters following @dschneider 's lead here.
Hi - great samples of student work! I have a question on how to create something. A student is making mountains for a background. How could he code a triangle (I guess) without just using a thicker pen width?
I can’t figure it out. Anyone know?