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

/// copper -- 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 COPPER: Colormap = Colormap {
    meta: ColormapMeta {
        name: "copper",
        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: &COPPER_LUT,
};

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