Function maelstrom_plot::color_from_strength
source ยท pub fn color_from_strength(ui: &Ui, strength: f32) -> Color32
Expand description
Determine a color from a 0-1 strength value.
pub fn color_from_strength(ui: &Ui, strength: f32) -> Color32
Determine a color from a 0-1 strength value.