Drag the blue wheel (current) or the amber marker (target)
current 350.0°
target 10.0°
naive target − current −340.0°
wrapped (shortest) +20.0°
short way + long way 20.0 + 340.0 = 360.0°
commanded angle 10.0°
commanded speed +3.5 m/s
actual slew +20.0°
slew time at 700°/s 0.029 s
field velocity (x, y) (3.447, 0.608)
naive lerp at t 350.0°
wrapped lerp at t 350.0°
verdict wrapping saves 320.0°