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

/// bubblegum -- 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 BUBBLEGUM: Colormap = Colormap {
    meta: ColormapMeta {
        name: "bubblegum",
        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: &BUBBLEGUM_LUT,
};

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