DA1:006 – Functions, Object-Oriented Programming (OOP)

Inspiration

Functions

…check back later

 

Object-Oriented Programming

Using and writing you own objects in Processing is a really powerful way of structuring your code. It allows you to re-use your code and also makes it easier to treat the things you are creating as separate chunks of code.

Rain

An example that creates rain out of Raindrop objects. (Note! You need to go on the OpenProcessing site to see the complete code for these examples below).
Raindrop cycling through colors.

Particles Animated With Noise