Joshua de Freitas
← Design
03 · Playable model · 2026

One defector

A grid of players, one of whom stops cooperating.

One defector

Nowak and May’s spatial prisoner’s dilemma. Everyone copies their most successful neighbour. One player begins by defecting.

  • Cooperates
  • Defects
  • Just turned to defect
  • Just turned to cooperate
Rendered image. A square field of low dark blocks with tall acid-green ones arranged in a symmetric pattern.
The same model after 128 generations on a larger grid, rendered. Height and colour mark cells that have just switched.

About

Nowak and May showed in 1992 that a spatial version of the prisoner’s dilemma, with no memory and no strategy beyond copying the most successful neighbour, can produce patterns of great intricacy.

Each player plays its neighbours and itself. Cooperating earns 1 for each cooperating partner; defecting earns b. For b between 1.8 and 2, a single defector grows into the kaleidoscope you see. Move b, or click any cell, and the history changes.

The rendered image above is the same computation after 128 generations on a larger grid.

What it encodes

In the pictureMeaning
A cellOne player, who cooperates or defects
DarkCooperated last time and still does
GreyDefected last time and still does
Acid greenHas just turned to defection
PaleHas just turned back to cooperation

Source and method

M. A. Nowak and R. M. May, “Evolutionary games and spatial chaos”, Nature 359 (1992), 826–829.

assets/js/defector.js; the still was rendered with a small path tracer written for this site’s artwork.