Skip to content

Commit

Permalink
75.%/15%, dark gray center
Browse files Browse the repository at this point in the history
  • Loading branch information
sonora authored Nov 18, 2023
1 parent 03350d2 commit 6eb5971
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ public class RouteColorize {
public static final int RED_SLOPE = rgbaToDecimal(255, 1, 1, 255);
public static final int PURPLE_SLOPE = rgbaToDecimal(130, 1, 255, 255);

public static final int[] COLORS = new int[] {GREEN, YELLOW, RED};
public static final int[] COLORS = new int[] {CYAN_SLOPE, GREEN, YELLOW, RED};
public static final int[] SLOPE_COLORS = new int[] {BLUE_SLOPE, CYAN_SLOPE, GREEN_SLOPE, DARK_GREY, YELLOW_SLOPE, RED_SLOPE, PURPLE_SLOPE};

public static final double SLOPE_MIN_VALUE = -1.00;//-100%
public static final double SLOPE_MAX_VALUE = 1.0;//100%
//public static final double[][] SLOPE_PALETTE = {{SLOPE_MIN_VALUE, GREEN_SLOPE}, {0.0, WHITE}, {0.125, YELLOW_SLOPE}, {0.25, RED_SLOPE}, {SLOPE_MAX_VALUE, PURPLE_SLOPE}};
public static final double[][] SLOPE_PALETTE = {{SLOPE_MIN_VALUE, BLUE_SLOPE}, {-0.10, CYAN_SLOPE}, {-0.05, GREEN_SLOPE}, {0.0, DARK_GREY}, {0.05, YELLOW_SLOPE}, {0.10, RED_SLOPE}, {SLOPE_MAX_VALUE, PURPLE_SLOPE}};
public static final double[][] SLOPE_PALETTE = {{SLOPE_MIN_VALUE, BLUE_SLOPE}, {-0.15, CYAN_SLOPE}, {-0.075, GREEN_SLOPE}, {0.0, DARK_GREY}, {0.075, YELLOW_SLOPE}, {0.15, RED_SLOPE}, {SLOPE_MAX_VALUE, PURPLE_SLOPE}};

private static final float DEFAULT_BASE = 17.2f;
public static double MAX_CORRECT_ELEVATION_DISTANCE = 100.0;// in meters
Expand Down

0 comments on commit 6eb5971

Please sign in to comment.