The diffusion limited aggregation algorithm

Whenever diffusion is the dominating mechanism for the transport of particles, the aggregation of particles results in beautiful patterns. In this simulation, these patterns are reproduced by walkers randomly stepping towards their four immediate neighbour-locations on a lattice. Once they attempt to step into the aggregated region, they die and become part of it.