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

/// neutral -- 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 NEUTRAL: Colormap = Colormap {
    meta: ColormapMeta {
        name: "neutral",
        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: &NEUTRAL_LUT,
};

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