EntwurfsforschungKI Lab ← Frühe SimulationenEarly Simulations

05 voting with four colors05 voting with four colours

/

Start: läuft, bis das System stabil ist · Regler wirken sofort, dann wieder Start · Zurück: neues SetupStart: runs until the system is stable · sliders apply at once, then press Start again · Reset: new setup

Ein zellulärer Automat als Abstimmung: Jeder der 161 × 161 Patches trägt einen von vier Zuständen – rot 0, blau 1, gelb 2, grün 3 – und zählt in jedem Schritt die Zustände seiner acht Nachbarn zusammen. Die Summe liegt zwischen 0 und 24. Vier Regler legen fest, welche Summe welche Farbe ergibt; die Bedingungen werden der Reihe nach geprüft, eine spätere überschreibt eine frühere, und wo keine zutrifft, bleibt die Farbe:

genYellow < Summe < genGreen → gelb · genRed < Summe < genBlue → blau · Summe > genGreen → grün · Summe < genRed → rot

Zu Beginn sind die Patches zufällig gelb oder blau. Mit den Voreinstellungen 12 für Gelb und Blau ist das eine Mehrheitsabstimmung: acht blaue Nachbarn ergeben 8, acht gelbe 16, die Grenze liegt genau dazwischen. Nach 20 bis 30 Schritten steht ein Muster aus gelben und blauen Gebieten, an wenigen Stellen blinken einzelne Patches im Takt von zwei Schritten.

Die Anleitung des Originals: „Beginne mit 12 für Gelb und Blau. Wenn das System stabil ist, verändere Blau oder Gelb. Schiebe den Regler für Grün herunter, bis grüne Zellen erscheinen, und den für Rot herauf … Versuche stabile Werte für das System zu finden und sie leicht zu variieren.“ Die Regler wirken ohne Neustart; der Lauf hält an, sobald das Feld stabil ist, und geht mit Start weiter. Die App setzt das NetLogo-Experiment aus Reinhard Königs Strukturexperimenten mit denselben Regeln und Voreinstellungen um; was geändert wurde, steht in QUELLE.md.

A cellular automaton as a vote: each of the 161 × 161 patches holds one of four states – red 0, blue 1, yellow 2, green 3 – and in every step adds up the states of its eight neighbours. The sum lies between 0 and 24. Four sliders decide which sum gives which colour; the conditions are checked in order, a later one overrides an earlier one, and where none applies the colour stays:

genYellow < sum < genGreen → yellow · genRed < sum < genBlue → blue · sum > genGreen → green · sum < genRed → red

At the start the patches are yellow or blue at random. With the defaults of 12 for yellow and blue this is a majority vote: eight blue neighbours give 8, eight yellow ones 16, and the boundary lies exactly in between. After 20 to 30 steps a pattern of yellow and blue areas stands still, with a few single patches blinking at a period of two steps.

The instructions of the original: “Begin with the values 12 for gen yellow and blue. If the system is stable, resize the blue or the yellow. Put down the slider for green until green cells appear, and the slider for red up … Try to find stable values for the system and vary them slightly.” The sliders apply without restarting; the run stops as soon as the field is stable and continues with Start. The app re-implements the NetLogo experiment from Reinhard König's structure experiments with the same rules and defaults; changes are listed in QUELLE.md.