Click Sprite 1 or press key 1 to draw a circle Click Sprite 3 or press key 3 to draw a triangle Click Sprite 4 or press key 4 to draw a square Click Sprite 5 or press key 5 to draw a pentagon Click Sprite 6 or press key 6 to draw a hexagon Click Sprite 7 or press key 7 to draw a heptagon Click Sprite 8 or press key 8 to draw a octagon Click Sprite 9 or press key 9 to draw a nonagon Click on a coloured sprite along the bottom to change the pen colour or press key r=red, o=orange, y=yellow, g=green, b=blue, p=purple. The variable Steps shows the length of the sides of the current shape. The variable Pen Size shows the current pen size. The location, side length, and pen size are chosen randomly using the (pick random __ to __ ) operator.
I would love for the user to be able to control the side length and pen size using a slider (like the variable slider) but I haven't been able to figure out how to program that yet. Feel free to remix and improve by code; I would love to see what everyone can come up with! If you catch any bugs or have any questions please let me know in the comments. I was inspired by the lesson plan by Dylan Ryder at https://www.edutopia.org/blog/scratch-programming-drawing-2d-shapes-dylan-ryder I have been reading "The Everything Kids' Scratch Coding Book by Jason Rukman" to learn more about Scratch.