For those who wish to learn more about Scratch syntax then looking at the code for a project such as this quadratic equation solver by proanimator is helpful. Select See Inside to see the code. If you create an account (free) you can save a copy to your own account. This code could easily be adapted as it offers the means to input some variables, perform calculations and display the results. Looking at code already written can be a great way to learn syntax – it’s certainly something I have done when learning to write Excel macros.
I agree with Simon Singh’s sentiments that Coding / Computing should be a separate and optional GCSE; I think using resources such as Scratch we can illustrate some concepts well and help students understand them; polygons and angles is a particularly good example of this and one I have written on before.
For some rather more advanced coding, there’s a rather nice Christmas tree generator here; select Auto Generate and sit back and admire the tree! Note that for any Scratch project you can ‘look inside’ and see the coding – a good way to learn more syntax.
Draw geometric constructions using the very attractive interface that is Robocompass.
Robocompass is easy to use, simply type in commands. Select How to for a list of supported commands.
Select the triangle image to go directly to the Robocompass file. Selecting play allows you to easily see each step. Note that you can select the page to rotate it in any direction.
Note that you can also look at individual steps,
easily change colour or play speed:
Robocompass – Reflection example
Experimenting with Robocompass made me realise that it can provide rather good demonstrations for transformations; see the above example (select the image for the file). Having set this up it is easy to change the line MN:
Scratch, from MIT is object-oriented programming language which is very easy to get started with as there is now a new release of the platform availble entirely in a browser; no program downloads are required. The interface is intuitive and easy to use; extensive help is available including a very clear Getting Started Guideand a set of Scratch Cards with clear instructions which will help you learn new Scratch code. Note the Scratch For Educators section.
As you can see from the sprite’s path the above program continues as follows:
Now that’s not a very efficient program! Scratch is a great way to learn programming as well as doing some Maths! We could look at external angles of polygons for example and show how to repeat a set of instructions.
Scratch – drawing an octagon
We could add some sound, change the pen colour or shade, learn about variables and generally have some fun!
Click the image then ‘See Inside’ at the top of the screen.
Try experimenting with this program which uses variables for the number of lines to draw and the angle to turn through. You will need to sign up to Scratch which is very easy and free.
It strikes me that Scratch could be used for many topics, bearings included.
Stephen Quinn’s dissertation is an investigation into using Scratch to teach KS3 Mathematics and has many ideas as well as useful information on Scratch.