prismatica 1.0.0

308 scientific colormaps as compile-time Rust constants
Documentation
// Auto-generated by prismatica xtask -- do not edit
use crate::{Colormap, ColormapKind, ColormapMeta};

/// jungle -- Sequential colormap from the cmasher collection.
///
/// Author: Ellert van der Velden
/// Perceptually uniform: true
/// CVD friendly: true
///
/// Citation: van der Velden, E. (2020). CMasher: Scientific colormaps for making accessible, informative and 'cmashing' plots. JOSS, 5(46), 2004.
pub const JUNGLE: Colormap = Colormap {
    meta: ColormapMeta {
        name: "jungle",
        collection: "cmasher",
        author: "Ellert van der Velden",
        kind: ColormapKind::Sequential,
        perceptually_uniform: true,
        cvd_friendly: true,
        grayscale_safe: false,
        lut_size: 256,
        citation: "van der Velden, E. (2020). CMasher: Scientific colormaps for making accessible, informative and 'cmashing' plots. JOSS, 5(46), 2004.",
    },
    lut: &JUNGLE_LUT,
};

static JUNGLE_LUT: [[u8; 3]; 256] = [
    [0, 0, 0],
    [0, 0, 0],
    [0, 0, 0],
    [0, 0, 0],
    [1, 1, 1],
    [1, 1, 1],
    [1, 2, 1],
    [1, 2, 2],
    [2, 3, 2],
    [2, 4, 3],
    [2, 4, 4],
    [3, 5, 4],
    [3, 6, 5],
    [3, 7, 6],
    [4, 8, 6],
    [4, 10, 7],
    [5, 11, 8],
    [5, 12, 9],
    [5, 13, 10],
    [6, 14, 11],
    [6, 16, 12],
    [7, 17, 12],
    [7, 18, 13],
    [7, 19, 14],
    [8, 20, 15],
    [8, 22, 16],
    [9, 23, 17],
    [9, 24, 17],
    [9, 25, 18],
    [10, 26, 19],
    [10, 27, 19],
    [10, 29, 20],
    [11, 30, 21],
    [11, 31, 22],
    [11, 32, 22],
    [12, 33, 23],
    [12, 34, 23],
    [12, 35, 24],
    [12, 37, 25],
    [13, 38, 25],
    [13, 39, 26],
    [13, 40, 26],
    [13, 41, 27],
    [13, 42, 27],
    [13, 43, 28],
    [14, 44, 28],
    [14, 46, 29],
    [14, 47, 29],
    [14, 48, 30],
    [14, 49, 30],
    [14, 50, 31],
    [14, 51, 31],
    [14, 52, 32],
    [14, 53, 32],
    [14, 54, 32],
    [14, 56, 33],
    [14, 57, 33],
    [14, 58, 33],
    [14, 59, 34],
    [14, 60, 34],
    [14, 61, 34],
    [13, 62, 35],
    [13, 63, 35],
    [13, 64, 35],
    [13, 66, 36],
    [13, 67, 36],
    [13, 68, 36],
    [12, 69, 36],
    [12, 70, 36],
    [12, 71, 37],
    [12, 72, 37],
    [12, 73, 37],
    [11, 74, 37],
    [11, 76, 37],
    [11, 77, 37],
    [10, 78, 38],
    [10, 79, 38],
    [10, 80, 38],
    [9, 81, 38],
    [9, 82, 38],
    [9, 83, 38],
    [8, 84, 38],
    [8, 86, 38],
    [8, 87, 38],
    [7, 88, 38],
    [7, 89, 38],
    [6, 90, 38],
    [6, 91, 38],
    [6, 92, 38],
    [6, 93, 37],
    [5, 94, 37],
    [5, 96, 37],
    [5, 97, 37],
    [5, 98, 37],
    [4, 99, 37],
    [4, 100, 36],
    [4, 101, 36],
    [4, 102, 36],
    [4, 103, 35],
    [4, 104, 35],
    [4, 105, 35],
    [4, 107, 34],
    [5, 108, 34],
    [5, 109, 34],
    [5, 110, 33],
    [6, 111, 33],
    [6, 112, 32],
    [7, 113, 31],
    [8, 114, 31],
    [9, 115, 30],
    [10, 116, 30],
    [11, 117, 29],
    [13, 118, 28],
    [14, 120, 27],
    [15, 121, 26],
    [17, 122, 26],
    [18, 123, 25],
    [20, 124, 24],
    [22, 125, 22],
    [24, 126, 21],
    [25, 127, 20],
    [27, 128, 19],
    [29, 129, 17],
    [32, 130, 16],
    [34, 131, 14],
    [36, 132, 12],
    [39, 133, 10],
    [41, 134, 8],
    [44, 135, 6],
    [47, 135, 4],
    [50, 136, 3],
    [53, 137, 2],
    [56, 138, 1],
    [59, 138, 2],
    [63, 139, 2],
    [66, 140, 4],
    [68, 141, 6],
    [71, 141, 8],
    [74, 142, 11],
    [76, 143, 14],
    [79, 144, 17],
    [81, 144, 20],
    [83, 145, 22],
    [85, 146, 25],
    [87, 147, 27],
    [89, 147, 30],
    [91, 148, 32],
    [93, 149, 35],
    [95, 150, 37],
    [97, 150, 39],
    [99, 151, 41],
    [101, 152, 44],
    [103, 153, 46],
    [104, 154, 48],
    [106, 154, 50],
    [108, 155, 52],
    [110, 156, 54],
    [111, 157, 57],
    [113, 158, 59],
    [114, 159, 61],
    [116, 159, 63],
    [118, 160, 65],
    [119, 161, 67],
    [121, 162, 69],
    [122, 163, 71],
    [124, 164, 73],
    [126, 164, 75],
    [127, 165, 77],
    [129, 166, 79],
    [130, 167, 81],
    [132, 168, 83],
    [133, 169, 85],
    [135, 170, 87],
    [136, 170, 89],
    [138, 171, 91],
    [139, 172, 93],
    [141, 173, 95],
    [142, 174, 97],
    [144, 175, 99],
    [145, 176, 101],
    [147, 177, 104],
    [148, 177, 106],
    [149, 178, 108],
    [151, 179, 110],
    [152, 180, 112],
    [154, 181, 114],
    [155, 182, 116],
    [157, 183, 118],
    [158, 184, 120],
    [160, 185, 122],
    [161, 186, 124],
    [162, 187, 126],
    [164, 188, 128],
    [165, 188, 130],
    [167, 189, 132],
    [168, 190, 134],
    [170, 191, 136],
    [171, 192, 138],
    [172, 193, 140],
    [174, 194, 142],
    [175, 195, 144],
    [177, 196, 146],
    [178, 197, 148],
    [179, 198, 150],
    [181, 199, 152],
    [182, 200, 154],
    [184, 201, 156],
    [185, 202, 159],
    [187, 203, 161],
    [188, 204, 163],
    [189, 205, 165],
    [191, 206, 167],
    [192, 207, 169],
    [194, 208, 171],
    [195, 209, 173],
    [196, 210, 175],
    [198, 211, 177],
    [199, 212, 179],
    [201, 213, 181],
    [202, 214, 183],
    [204, 215, 185],
    [205, 216, 187],
    [206, 217, 189],
    [208, 218, 192],
    [209, 219, 194],
    [211, 220, 196],
    [212, 222, 198],
    [214, 223, 200],
    [215, 224, 202],
    [216, 225, 204],
    [218, 226, 206],
    [219, 227, 208],
    [221, 228, 210],
    [222, 229, 212],
    [224, 230, 214],
    [225, 231, 216],
    [227, 232, 218],
    [228, 234, 220],
    [229, 235, 222],
    [231, 236, 224],
    [232, 237, 226],
    [234, 238, 228],
    [235, 239, 230],
    [237, 240, 232],
    [238, 242, 234],
    [240, 243, 236],
    [241, 244, 238],
    [243, 245, 240],
    [244, 246, 242],
    [246, 248, 244],
    [248, 249, 246],
    [249, 250, 248],
    [251, 251, 250],
    [252, 252, 251],
    [254, 254, 253],
    [255, 255, 255],
];