prismatica 0.3.1

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

/// freeze -- 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 FREEZE: Colormap = Colormap {
    meta: ColormapMeta {
        name: "freeze",
        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: &FREEZE_LUT,
};

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