Rhythmic, repetitive behaviors are a hallmark of autism. Hand-flapping, spinning in circles, body rocking, vocalizations such as grunting and muttering, and other habits can be disquieting to people unfamiliar with them. Scientists and clinicians have long puzzled over what these behaviors mean — an…