@author: Flux The goal of this app is to discover the best method of interpolation for angles. The main problem is: when you have a starting angle (angle) at 315 degrees, and a second "target" angle (targetAngle) at 45 degrees and want to smoothly interpolate to that angle, linear interpolation will begin 315 to be subtracting until it reaches 45 degrees, which is the wrong direction (longer). We want the interpolator to not care what angle it's interpolating to, so long as it's taking the shorter route.
Source code: interp_angles
Built with Processing