code: public static float map(float minStart, float minStop, float maxStart, float maxStop, float value) {
          return maxStart + (maxStop - maxStart) * ((value - minStart) / (minStop - minStart));
      }
docs: TODO: maxStart and maxStop were switched