11.2

Create a new sketch. This class should have at least one class. This can be anything! (Trees, cats, fish, whatever you’d like). Add some variation in the class’s constructor so we can tell the difference between multiple objects (if you’re making cars, allow for different colors and/or speed). Create an array with at least 10 of your objects in it. Call the functions associated with your object in a for loop.

Upload your sketch to openProcessing and post to the blog.

You may not copy and of the examples we’ve done in class– aka, no Cars or Zoogs!

 

 

Print this page

Leave a Reply

Your email address will not be published. Required fields are marked *