Das Modell besteht aus einem Zellenraster von 135 × 135 Zellen und 2000 frei beweglichen Agenten. Die Agenten werden zu Beginn zufällig verteilt und gehen in jedem Zeitschritt eine Zelle weit in eine neue Richtung; ihre Ausrichtung ändert sich dabei um bis zu zwei mal 45°. Das Feld ist an den Rändern geschlossen (Torus).
Nach jedem Schritt zählt jede Zelle die Agenten in ihrer Moore-Nachbarschaft, sich selbst eingeschlossen. Ist der Schwellenwert überschritten und steht mindestens ein Agent auf der Zelle, wird sie „entwickelt“ (grün), und die Agenten darauf lagern sich an:
Summe der Agenten in 3 × 3 Zellen > Schwellenwert → Zelle entwickelt, Agenten bleiben
Entwickelte Zellen zählen ihre Agenten Schritt für Schritt weiter. Ein Agent, der in die Nähe eines Clusters kommt, überschreitet den Schwellenwert darum sofort – die Cluster wachsen verzweigt wie bei der diffusionsbegrenzten Anlagerung und verbinden sich. Wird der Schwellenwert erhöht, entstehen weniger, dafür größere Cluster; ab etwa 9 bildet sich lange gar keiner. Mehr Agenten ergeben mehr und dichtere Cluster. Michael Batty (Cities and Complexity, Kapitel 1) sieht darin ein Bild für die Ausbreitung von Siedlungen und die Entstehung von Verbindungen. Im Original steht die Ausrichtung in Grad, Sinus und Kosinus erwarten aber Bogenmaß; die Agenten laufen dadurch fast ungerichtet. Der Schalter „Richtung in Grad“ zeigt die gemeinte, gerichtete Bewegung. Die App ist eine Neuumsetzung des Programms von Reinhard König; was geändert wurde, steht in QUELLE.md.
The model consists of a grid of 135 × 135 cells and 2000 freely moving agents. The agents are distributed at random at the start and in every time step move one cell in a new direction; their heading changes by up to twice 45°. The field wraps around at its edges (torus).
After each step every cell counts the agents in its Moore neighbourhood, itself included. If the threshold is exceeded and at least one agent stands on the cell, it becomes “developed” (green), and the agents on it attach:
sum of agents in 3 × 3 cells > threshold → cell developed, agents stay
Developed cells keep counting their agents step by step. An agent that comes near a cluster therefore exceeds the threshold at once – the clusters grow in branches as in diffusion-limited aggregation and connect. With a higher threshold fewer but larger clusters emerge; from about 9 none forms for a long time. More agents give more and denser clusters. Michael Batty (Cities and Complexity, chapter 1) sees this as an image of the spread of settlements and the emergence of connections. In the original the heading is given in degrees, but sine and cosine expect radians; the agents therefore move almost without direction. The switch “Heading in degrees” shows the intended, directed movement. The app re-implements the program by Reinhard König; changes are listed in QUELLE.md.