In Scratch code

  • Explore the link between coding and wave patterns.
  • Change the Scratch code to create your own versions.
  • See below for Scratch Version 1 - Making Waves.


Math overview


Version 1 - Making Waves  

Code - play with the Scratch code

  • This code simulates a mouse moving around the 12 hours of a clock.
  • The height of the mouse at each hour of the clock is plotted as a bar graph.
  • Change the value of the Circle Size (using the slider in the Output screen) and see how the bar graph changes.


  • How does the Circle Size value change the shape of teh graph?


See more Scratch versions

  • Version 2
    • This version also shows the clock.
    • Can you find the value of Circle Size that matches the size of the clock?