Desert snakes slithering across the sand at night can encounter obstacles such as plants or twigs that alter the direction of their travel. While studying that motion to learn how limbless animals control their bodies in such environments, researchers discovered that snakes colliding with these obstacles mimic aspects of light or subatomic particles when they encounter a diffraction grating.