Settled module Pivoting now Waiting to move Pivot anchor
drag to pan · scroll to zoom

Modular Self-Reconfiguring Robot 2D

Sixteen identical square modules occupy a 2D lattice and can only move one way: pivoting 90° around a corner shared with a stationary neighbor — the same "roll around your neighbor" locomotion used by MIT's M-Blocks, viewed edge-on. This simulator schedules a real pivot-and-anchor reconfiguration algorithm — pick Block, Wall, Staircase or Arch and watch the controller greedily assign each out-of-place module to the nearest open cell in the new shape, then breadth-first search a legal chain of floor rolls and anchored climbs to get it there, stalling and retrying modules whose path is temporarily blocked by a neighbor that hasn't moved yet. Toggle the anchor and BFS-frontier overlays to see the scheduling rule itself at work.