← Back to demosHomePrevious demo
THREE.JS / FOUNDATIONS

Color the data.

A scalar pressure attribute becomes linear vertex colors through Lut. A CanvasTexture legend is rendered as a second UI scene over the shaded surface.

Initializing

Creating the scalar pressure surface and legend.

Backend
-
Color map
-
Range
-
Vertices
-
Legend
-
Sample
-
Lut boundary

pressure attribute → Lut.getColor → linear vertex color → CanvasTexture legend → UI scene

This lab proves the selected lookup-table color contract only. The official pressure asset, exact GUI and camera composition, page/pixel presentation, color-map calibration, device performance, and whole-example fidelity remain separate.