EARTH 801
Computation and Visualization in the Earth Sciences

Summary and Final Tasks

PrintPrint

Reminder - Complete all of the Lesson 2 tasks!

You have reached the end of Lesson 2! In this lesson you learned about variables and for loops, and a little bit about how to troubleshoot a loop with the println command. These will all be useful building blocks for the more complicated programs we'll learn in Lesson 3.

Double-check the to-do list on the Lesson 2 Overview page to make sure you have completed all of the activities listed there before you begin Lesson 3.

Recap of the Lesson 2 Exercises:

2.1 Create a composition out of two or more differently colored overlapping shapes

2.2 Modify Exercise 2.1 above to change the color and thickness of the outlines of the shapes and the background color of the composition.

2.3 Create your own custom shape with vertex(), beginShape(), and endShape().

2.4 Draw your own custom shape using variables to set the vertices.

2.5 Rewrite the dough blob program so that you place the blobs in the same configuration, but you start from the bottom right corner and work upwards and to the left.

2.6 Use at least one for loop to draw your custom shape from Exercise 2.4 several times. [Turn this one in]