Screen Shot 2014-11-22 at 16.55.25agents 1

Last week we started looking at agents, we did this in three parts.

In the first part we made a simple rectangle agent and used two lines of code to make the rectangle agent move. Screen Shot 2014-11-22 at 17.25.57

For the second part I added methods so I could just call the agent function again and again rather than write out the entire repeatedly.

Screen Shot 2014-11-22 at 17.32.51 Screen Shot 2014-11-22 at 17.33.05

Finally, in the third part I added multiple agents and arrays. The finished result is a screen the user can click to bring up multiple square agents that vibrate and slowly change colour over time.


This was the first week looking more in depth into processing and its uses. It was slightly hardly to get my head around at first but I can see the benefits and use of the processes which will help with our upcoming projects.