Cyclic Pursuit
Move a target or change the number of robots and watch a leaderless team form a new ring.
8 agents · encircling the target, error —
drag the target (◎) to move what the team surrounds · drag any agent to reshape the ring
What you are looking at
- Agents
- Robots that chase the next member of the ring.
- Ringed marker
- The shared target the team surrounds.
- Polygon
- The shape the agents form as they settle around the target.
Try this
- Drag the ringed target to see the formation wrap around its new position.
- Set N to five for a pentagon, then eight for an octagon.
- Raise N to see the formation approach a circle.
Key idea
Following one neighbour while maintaining distance from the target can form a regular polygon without a leader.