Distance of two points on a circle, represented using degrees.
static double differenceDegrees(double a, double b) { return 180.0 - ((a - b).abs() - 180.0).abs(); }