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

/// seaweed -- 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 SEAWEED: Colormap = Colormap {
    meta: ColormapMeta {
        name: "seaweed",
        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: &SEAWEED_LUT,
};

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