this feature really help clean up the code and also make mass duplication of one thing possible without re-writing bunch of codes that contains same info.
void myFunction(int x, int y, int a, int b)
{
// put code inside using those arguments(int x and stuff)
}
The syntax or grammar of proccessing is really like that of java code i think. well C probably is the closest though. so if you know console stupid C then you can use this to generate something that's alot more meaningful without much knowledge on include libraries, etc.
There is one book that comes into my mind to help you with this. Which is flash math creativity. I guess you could buy processing book also but this flash book is rather a collection of codes that are created by flash people. All codes represents some kind of math/physics/animation model using squares, circles, lines, some of them are like flags, elastic stuff, wave stuff, and so on. Purely that. I think reproducing all those in Processing will be like a fun challenge for a beginner Processing enthusiasts.

No comments:
Post a Comment