EARTH 801
Computation and Visualization in the Earth Sciences

Lesson 5: Introduction

PrintPrint

Learning Outcomes

By the end of this lesson, you should be able to:

  1. Write a program involving interactive typography
  2. Write a program that involves translate() and scale(), rotate(), pushMatrix(), and popMatrix()

What is due for Lesson 5?

This lesson will take us one week to complete. 8-14 February 2017. This lesson involves the following graded items:

  1. Teaching/Learning discussion, detailed on the next page
  2. Programming exercises, detailed on the pages after that
Lesson 5 Deliverables
Assignment Description Submitted for Grading?
Discussion Teaching/Learning Discussion #2 yes -- participate throughout the week in a Canvas discussion board
Exercise 5.1 write your own paragraph in a font you like no
Exercise 5.2 write a program with words that move up and down no
Exercise 5.3 modify the program you wrote in 5.2 so that the words also change color while they move either submit this OR submit Exercise 5.4
Exercise 5.4 tell a story with moving words either submit this OR submit Exercise 5.3
Exercise 5.5 experiment with translations to see what happens when you use more than one pushMatrix() popMatrix() pair no
Exercise 5.6 use translate() and rotate() to change a square into a diamond no
Exercise 5.7 use translate() and rotate() to change the coordinate system so that the origin is on the bottom left and increases to the right and upwards no
Exercise 5.8 write a function that uses a combination of scale(), rotate(), or translate() and then do something interactive with it such as having it plot to the display window when the mouse is clicked, or have it move by itself yes - submit this.

Questions?

If you have any questions, please post them to our Questions? discussion forum (not e-mail) in Canvas. I will check that discussion forum daily to respond. While you are there, feel free to post your own responses if you, too, are able to help out a classmate.