“Always remember that this whole thing was started with a dream and a mouse.”
“The quality of the imagination is to flow and not to freeze.”
|--Ralph Waldo Emerson|
In this chapter:
The “flow” of a program.
The meaning behind setup( ) and draw( ).
Your first “dynamic” Processing program.
Handling events, such as mouse clicks and key presses.
If you have ever played a computer game, interacted with a digital art installation, or watched a screensaver at three in the morning, you have probably given very little thought to the fact that the software that runs these experiences happens over a period of time. The game starts, you save princess so-and-so from the evil lord who-zee-ma-whats-it, ...