Skip to content

color.map.plasma

Summary

color.map.plasma assigns violet and magenta to lower values and orange and yellow to higher values. Use it to encode scalar order where a saturated dark endpoint helps distinguish the low end of the range.

Syntax

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

Returns

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

See Also