fn signed_min(v: f32, min: f32) -> f32
Keep v’s direction while forcing at least min of length, so a zero-length drag still makes a visible shape without flipping which way it points.
v
min