The modular robotic cubes contain electromagnets that selectively weaken and strengthen, enabling the robot break and join links. The growing cube assemblies are supplied with extra cubes at two "feeding" locations. A three-module robot can replicate itself in just over a minute.