INTRODUCTION TO COMPUTATIONAL MEDIA

Modular Organization :

Writing your own functions .

Software can become so complicated that good organization is not just nice, it is necessary. The software that you write may never become that complicated but everyone will be much happier if you learn to write your code in modular blocks. The simplest way to make your code more modular is to organize your code into "functions" (aka "handlers", "routines", "subroutines" ,"behaviors" and "methods" ). In crafting these blocks, the holy grail is REUSE of your code and the criteria is ENCAPSULATION OF COMPLEXITY.

  1. Practical Advantages of Modular Code
  2. Creating Your Own Handler
  3. INPUTS
  4. OUTPUTS
  5. More Events Supplied by Processing
  6. Multidimensional Arrays

Practical Advantages of Modular Code:

Creating Your Own Handler

INPUTS

OUTPUTS

More Function Calls Supplied by Processing