A Processing based simulation of agents