Geometric visualization of self-propulsion in a complex medium