"Every module gets its instructions to turn left, right, or straight. That's like the DNA code for the shape," graduate student Ara Knaian explains in a demonstration video, from MIT. "And then the motors fold the chain up into the shape."