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

/// gothic -- 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 GOTHIC: Colormap = Colormap {
    meta: ColormapMeta {
        name: "gothic",
        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: &GOTHIC_LUT,
};

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