Exercise 4: Objects

Class and Objects

Using one of the templates below, create a sketch using a class and objects. Modify and extend the Circle class with new variables and functions.

For instance, if you want to change the size of the Circles when pressing the mouse, you could add a new Circle function called randomSize() and then call it inside the main sketch's mousePressed() function.

We will present in a small exhibition next class.

Due date: 5/09