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

/// sunburst -- 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 SUNBURST: Colormap = Colormap {
    meta: ColormapMeta {
        name: "sunburst",
        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: &SUNBURST_LUT,
};

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