Shortening space curves and flow through singularities | Synapse