M-Blocks are a new type of modular robot developed at MIT that can independently roll, leap through the air, and snap together to form different shapes. Each cube contains a flywheel that can reach 20,000 RPM and impart angular momentum when braked to allow the cubes to somersault through the air and attach magnetically. The cubes use clever magnet arrangements and beveled edges to connect strongly on any face. Researchers hope to develop algorithms to allow hundreds of cubes to autonomously assemble into useful structures on demand. The technology could eventually be scaled down and used in applications like self-assembling shelters, bridges, or power lines.