Function heat_color
pub fn heat_color(heat: f32) -> [f32; 3]Expand description
The part colours live in the core, so that the browser’s 3D view (sim-wasm) colours as this one does.
The colour of the heat scale at a temperature rise of heat times the rated one: cold blue, yellow at half, red at
the rated rise, and magenta beyond it.