Pen Banana - Click the flag to get the Scratch Pen draw a banana - Change the (Delay in 1/10s of a sec) slider from its default value of 0, to see how the Banana is drawn, using 13 filled circles (Pen Down/Up) & 4 lines.
Created by @gregatku for use in Coding Classes for Kids Unlimited, for whom I work as a Coding teacher. Simple lesson to teach kids how to use the Scratch Pen, via a series of circles (Pen Down/Pen Up) of varying colour, size, saturation & brightness, and the odd straight line, to draw something recognisable, in this case a banana. After they've learned enough of the techniques, they will be required to make it draw something different and creative of their own. This is an enhanced version to the one I get my students to draw, enabling the banana to be drawn at any random angle (which it does each time you click the flag). In the students' version the "move n steps" blocks are mostly "change y by -n steps" and the Custom code blocks "go to X' m Y' n at angle A" used here would just be "go to x: m y: n" in the students' version. The drawing produced by the student version is equivalent to "Banana at angle 180" in this enhanced project. Also in this enhanced version I also had a bit of play with colour to make it look a little more like a real banana, whereas the simple student version is all Yellow. I may get some of the more advanced classes to add that to theirs too. The X & Y variables (set by a stage click) are shown while we build up the image, so it is easy to work out where we need to "go to" to draw something, just by clicking there. They are hidden one the project is completed.