Transformation of modular robots by rotation: 3 + 1 musketeers for all orthogonally convex shapes

Matthew Connor, Othon MichailJ. Comput. Syst. Sci 2025 · DOI

Abstract

We study programmable matter systems consisting of modules that perform the minimal mechanical operation of rotating by 90° around each other. We represent the modules as nodes lying on the cells of a two-dimensional square grid. We are interested in characterising families whose shapes can be transformed into each other by a sequence of rotation moves that maintains global connectivity. Shapes can only be transformed into each other by rotation if they are colour-consistent, meaning that their nodes have identical colour cardinalities on a checkered colouring of the grid. We develop a generic centralised transformation and prove that, for any pair A, B of connected, colour-consistent, orthogonally convex shapes, it can transform A into B, using a seed of 3 or 4 nodes to trigger the transformation. The running time of our transformation is an optimal O(n2)<math><mi is="true">O</mi><mo stretchy="false" is="true">(</mo><msup is="true"><mrow is="true"><mi is="true">n</mi></mrow><mrow is="true"><mn is="true">2</mn></mrow></msup><mo stretchy="false" is="true">)</mo></math> sequential moves, where n=|A|=|B|<math><mi is="true">n</mi><mo linebreak="goodbreak" linebreakstyle="after" is="true">=</mo><mo stretchy="false" is="true">|</mo><mi is="true">A</mi><mo stretchy="false" is="true">|</mo><mo linebreak="goodbreak" linebreakstyle="after" is="true">=</mo><mo stretchy="false" is="true">|</mo><mi is="true">B</mi><mo stretchy="false" is="true">|</mo></math>.
BibTeX
@article{connor2025transformation,
  author = {Matthew Connor and Othon Michail},
  title = {{Transformation of modular robots by rotation: 3 + 1 musketeers for all orthogonally convex shapes}},
  journal = {J. Comput. Syst. Sci.},
  year = {2025},
  doi = {10.1016/j.jcss.2024.103618},
}

Loading related content...

Figure