Skip to content

color.map.turbo

Summary

color.map.turbo runs from dark blue through cyan and yellow to dark red. Use it when hue differences should draw attention to changes across the scalar range. Both ends are dark, so include a legend to make the direction of the scale clear.

Syntax

WasmGPU.color.map.turbo(): Colormap
const result = wgpu.color.map.turbo();

Returns

Colormap - Shared 256-texel, linearly filtered map for CPU or GPU sampling. Equivalent to WasmGPU.color.map.builtin("turbo").

See Also