Pattern formation
Robots start at distinct points and must form a given geometric pattern, up to similarity; which patterns are formable, and from which initial configurations?
Problem statement and measurescollapse
\(n\) robots start at distinct points of the plane. Each is given the same pattern \(P\), a set (or multiset) of \(n\) points in its own local coordinate system. The robots must reach a configuration similar to \(P\) (equal up to translation, rotation, uniform scaling and, without chirality (a common clockwise direction), reflection) and stay there. The question is for which pairs (initial configuration, pattern) this is possible under the given assumptions, and at what cost in time and colours.
Measures: Time, rounds (FSYNC, SSYNC) or epochs (ASYNC) until the task is done; "finite" when only solvability is known; Colours, colours of the light per robot (0 for oblivious robots).
A first look
the basic problem, a simple algorithm and why some things cannot be done, for a newcomer
Picture drones at a light show that must arrange themselves into a picture, say a star, with no director and no radio. There are \(n\) robots, tiny points at different places in the plane; the positions of all robots at one instant form a configuration. Each robot repeats a Look–Compute–Move cycle: it takes a snapshot of where the other robots are (Look), decides on a destination point (Compute) and moves towards it (Move). The robots are identical, silent and oblivious (they forget everything at the end of each cycle), and each one sees the world in its own local coordinate system, with its own origin, unit of length and directions. An adversary called the scheduler decides the activation of each robot, that is, when it performs a cycle; in the standard version (ASYNC) every phase may take any finite time, so a robot may look while others are still moving. All robots receive the same pattern \(P\), a list of \(n\) points, and must end in a configuration equal to \(P\) up to shifting, turning, resizing and mirroring, and then stop; the question is from which initial configurations this is possible.
- Every robot computes the smallest enclosing circle (SEC): the smallest circle that contains all robots. It is the same circle for everyone, whatever their local coordinate systems.
- The centre of the SEC becomes the common origin and its radius the common unit of length.
- The robots elect a leader, a robot whose position in the configuration looks different from every other robot's (for example the only robot closest to the centre). The ray from the centre through the leader becomes the common "east"; because all robots agree on what clockwise means (chirality), this also fixes a common "north".
- Now all robots use the shared coordinate system, so they all place the pattern \(P\) in the same spot (scaled to the circle) and compute the same assignment of robots to points of \(P\); the point assigned to a robot is its target point.
- The robots move to their target points in a careful order that never changes the SEC and never lets another robot take over the leader's special position, so the shared coordinate system survives every move.
Why it matters. It turned a geometric problem into a symmetry-breaking problem: forming any pattern is as hard as choosing one leader.
Place \(n = 4\) robots on the corners of a square and ask for a pattern that does not look the same after a quarter turn, for example four points on a line. The adversary gives each robot a local coordinate system with its origin at the robot, the \(x\)-axis pointing to the centre of the square, and the same unit; the four systems are then copies of each other turned by \(90^\circ\). Every robot now gets exactly the same snapshot. The scheduler activates all four together. Identical robots with identical snapshots choose the same move in their own local coordinate systems, which in the real plane is the same move turned by \(90^\circ\). So after these cycles the robots again form a square (or all stand at its centre), and the scheduler repeats this forever. The line is never formed.
Why it matters. It explains why every pattern-formation result is about breaking symmetry, and why leader election keeps appearing.
Suppose all robots agree on north and east (a common compass), though not on origin or unit.
- Each robot sorts all robots from west to east, and robots on the same north-south line from south to north. Since all robots agree on north and east, they all obtain the same order, even though their origins and units differ.
- Each robot sorts the points of the pattern \(P\) in the same way and matches the \(i\)-th robot with the \(i\)-th point of \(P\), its target point, (after placing and scaling \(P\) by a rule everyone computes alike).
- The robots move in an order chosen so that the order of step 1, and hence the assignment of target points, does not change while they move.
Why it matters. It shows that symmetry, not obliviousness or asynchrony, is the real obstacle to forming patterns.
What is known
The best upper bound against the best lower bound in each catalogued setting. Open a setting for its results, proofs and notes, or see the progress map with the branch points.
Open questions 3
ASYNC, no agreement on coordinates
- Bound the number of epochs needed by an arbitrary pattern formation algorithm in ASYNC; no time analysis is recorded.
Opaque robots with lights, ASYNC, one axis, rigid
- The minimum number of colours, and formation with chirality only or with no agreement Bose et al. 2021.
Limited visibility
- Arbitrary pattern formation by oblivious robots with limited visibility from a general (connected) initial configuration Hahn et al. 2024.
What the community started looking at
The founding question was which patterns robots can form at all Suzuki & Yamashita 1999: Suzuki and Yamashita characterised formable patterns by the symmetry of the starting configuration, for SSYNC robots with unbounded memory and common handedness: only a point and a regular \(n\)-gon can be formed from every starting configuration. Flocchini, Prencipe, Santoro and Widmayer then asked the question that shaped the field, how much agreement is needed: none is not enough, one axis is enough for an odd number of robots, two axes for all Flocchini et al. 1999 Flocchini et al. 2008. The aim has been to remove assumptions one at a time (chirality, synchrony, rigidity), ending in the equivalence with leader election without chirality Cicerone et al. 2019.
Derived problems
Circle formation: A circle is a family of patterns; forming some circle is easier than forming a given pattern, and it is the precursor of uniform circle formation Feletti et al. 2024.
Uniform circle formation: Uniform circle formation is "an important special case of the geometric pattern formation problem" Feletti et al. 2024: the target is the regular \(n\)-gon. It is also the special case of circle formation with equal spacing; circle formation is "its precursor" Feletti et al. 2024.
Universal pattern formation: Pattern formation asks which patterns are formable from a given start; universal pattern formation asks for all patterns from all starts, which symmetry forbids under SSYNC and FSYNC but sequential schedulers allow Flocchini et al. 2026.
Pattern sequences: Forming one pattern is the case \(m = 1\); a sequence needs the robots to remember (or encode in the configuration) which pattern comes next.
Mutual visibility: Mutual visibility asks for any pattern in general position, a family of patterns; it is the usual first step of pattern formation for opaque robots.
k-grouping: When the groups sit at points, \(k\)-grouping forms a pattern of \(k\) points; which points, and how many robots each holds, is up to the robots. Gathering is its special case \(k = 1\). Splitting needs symmetry breaking Efrima & Peleg 2009.
Partitioning: A partition into \(k\) groups at points is a pattern of \(k\) points, each of multiplicity \(n/k\).
Related problems
Leader election in the plane: Arbitrary pattern formation is solvable from a configuration exactly when leader election is, in ASYNC without chirality Cicerone et al. 2019; with chirality and \(n \ge 4\) this was shown by Dieudonné et al. 2010.
Shape formation in programmable matter: "Shape formation is a basic distributed problem for systems of computational mobile entities. Intensively studied for systems of autonomous mobile robots, it has recently been investigated in the realm of programmable matter" Di Luna et al. 2020.
Perspectives
- Why compute by moving The atlas collects four models that grew out of four different wishes: software that travels through a network, swarms of robots that are as weak as possible, searchers that must find something at an unknown place, and matter that reshapes itself. They share an adversary, locality and symmetry; they differ in what they count.
- Symmetry is the adversary Identical agents running the same deterministic program can be kept in lockstep forever. Across graphs, the plane and programmable matter, the papers break this symmetry with identifiers, with randomness, with asymmetric starts, or with the scheduler, and leader election keeps reappearing as the common core.
- Weak robots in the plane Why the theory of robots in the plane starts from oblivious, anonymous, disoriented points; how formation problems became its testbed and the scheduler its adversary; and how a light with a few colours turned into memory, communication and a measure.
- From robots to particles Programmable matter re-asks the questions of robots in the plane on a lattice, with particles that touch, remember a little and stay connected; SILBOT takes memory and messages away again, and the stochastic approach replaces algorithms by a biased local rule.
- The most consequential open problems Ten open questions ranked by how far a solution would propagate through the atlas, with the chain of problems each one feeds.
All settings
The assumption tree (11 settings, 6 branch points)
The root assumes nothing. Going down, each edge adds the assumptions on its chips (+blue); a grey chip names the branch that leaves that axis unassumed while a sibling assumes something. Solid nodes are catalogued variants with their status per measure (Time, Colours); dashed nodes are branch points with no catalogued variant, named after the axis on which their branches differ. Axis order: Body › Visibility › Opacity › Faults › Scheduler › Lights (persistent memory) › Agreement on coordinates › Movement › Multiplicity detection › Randomness › Identifiers.
-
No assumptions · 2 branches by body
Nothing is assumed on any axis.
-
+pointVisibility · 2 branches
-
+unlimited visibilityOpacity · 2 branches
-
+transparent+no faultsASYNC, no agreement on coordinates standard setting Without any common orientation, an arbitrary pattern can be formed exactly from the configurations in which a leader can be elected.
-
+chiralityASYNC with common chirality With common chirality, pattern formation and leader election are equivalent for \(n \ge 4\).
-
+one axisASYNC with one common axis With a common North and chirality, any odd number of robots forms any pattern; an even number cannot, in the worst case.
-
+compassASYNC with a common compass If robots agree on both axes, any number of robots forms any pattern.
-
disoriented+randomizedRandomized, ASYNC, no agreement Randomness breaks symmetry: with one random bit per cycle, \(n \ge 5\) robots form any pattern except gathering.
-
-
opaque+no faultsLights (persistent memory) · 2 branches
-
+lights (LUMI)Agreement on coordinates · 2 branches
-
+one axis+rigidOpaque robots with lights, ASYNC, one axis, rigid Opaque point robots with lights that agree on one axis form any pattern from the starts the paper characterises, with 6 colours.
-
+compass+rigidOpaque robots with lights, ASYNC, compass, rigid With a common compass, opaque robots with lights form any pattern with 3 colours.
-
-
oblivious+compassOpaque oblivious robots, ASYNC, compass Without lights, opaque robots cannot form arbitrary patterns in ASYNC, even with a common compass.
-
-
-
limited visibility+transparent+no faultsLimited visibility With limited visibility, oblivious robots form a pattern under the usual symmetry condition if they start within diameter 1; the general case is open.
-
-
fat+unlimited visibility+no faultsScheduler · 2 branches
-
ASYNC+lights (LUMI)+one axisOpaque fat robots with lights, ASYNC, one axis Opaque fat robots with lights that agree on one axis form any pattern from every start not symmetric about a robot-free line parallel to that axis, with 10 colours.
-
+FSYNC+lights (LUMI)+rigid+randomizedFat robots with lights, FSYNC, randomized, no agreement Randomized fat robots with lights and no common orientation form any pattern in FSYNC in \(O(n)+O(\kappa\log n)\) rounds with probability at least \(1-n^{-\kappa}\), with 7 colours.
-
-
Know a better result, or found a mistake? Suggest a result · Report an error. Accepted contributions are acknowledged.