pub fn sample_colormap_from( t: f32, cmap: impl Into<ColormapSelection>, ) -> [f32; 4]
Sample a selected colormap at t in [0, 1].
t
[0, 1]