Wednesday 8 September 2021

Scratch - Coding & Mathematics

 I have been attending webinars with Raranga Matihiko on Coding Across the Curriculum. 

This week's webinar included a section about Scratch and using it in Mathematics. Scratch was used to draw shapes initially and then to add a repeating pattern to make spirograph type patterns. Mathematics knowledge of 2 D shapes and measurement of corners and angles are all used in this coding exercise. 

I worked through drawing shapes such as squares, triangles, rectangles and pentagons. I didn't have much success with the pentagon but I will work on that.

Then I put the code together to create the spirographs in succession.  I also worked out how to make the background change colours randomly to make it a bit more interesting. My next job is to see if I can speed up the circle code!