use to compare distance 360/100 is the max dist d1 is distance 1 (red bar) d2 is distance 2 (blue bar)