Wednesday, April 1, 2009

Processing Processing ...


Since it has been quite a while since I played with Processing, I need to freshen up my skills. One of the first things I always forget how to do, is to handle many objects effectively. But, with some searching around in the reference, and various examples on the web, I found back to it. It is a pretty useful thing to utilize, since it can give you precise control over any given number of objects (those objects might for example be of pixel-size or large-scale graphics of some sort) ...

The image on top is made using the object method. Every box has individual properties, and in this case they are given a random x-, y- , and z-position, plus a random depth (or hight if you like). By changing any of these properties, the output could be drastically different. The image below is thus an example where everything is based on order, but the program is basically the same, it is just a matter of giving each box other properties.

No comments:

Post a Comment