The thoracic mechanism of a grasshopper, and its antecedents