SCRATCH PROGRAMMING QUARTER TWO

Back to index

View project at Scratch

Also click here to see another example.

Graph Paper

Graph paper can be simple or it can be fancy. You will take the demo project which makes simple graph paper and alter it so that fancy graph paper is produced.

This project utilizes a couple repeat loops and a single variable. The use of the variable may be confusing if you are not familiar with variables from simple algebra. Basically the variable in this project holds numeric values which are changed through the course of the execution of this project. Study the example carefully and do your best to understand how it works.

ASSIGNMENT:

Produce the following enhancements to the sample project:

  • Change the grid size so that there are 39 vertical lines and 29 horizontal lines showing (not counting edges).
  • Draw the x-axis and y-axis in a thicker line than the rest of the lines on the grid.
  • All the lines on the grid should be dark blue or black, except that every fifth line in all directions from the origin (0,0) must be red.
  • Make sure the dot sprite lands at (0,0) at the end of your script.