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};

/// iceburn -- Diverging 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 ICEBURN: Colormap = Colormap {
    meta: ColormapMeta {
        name: "iceburn",
        collection: "cmasher",
        author: "Ellert van der Velden",
        kind: ColormapKind::Diverging,
        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: &ICEBURN_LUT,
};

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