Heatmap
A grid of values as colours: a matrix from a file or the latest one of a live stream.
How it works
Connect a file with a matrix (CSV of numbers, or JSON: a list of rows, or {"matrix": [[...]]}) or live telemetry whose items carry a matrix (ctx.telemetry("grid", {"matrix": rows})). The newest matrix is drawn, with the colour scale you choose; hover a cell to read its value.
Inputs
| Input | Takes | What it is |
|---|---|---|
Matrixdata | Stream or Table or Files csv, json | Rows of numbers; from a stream, the field named below Takes several connections. |
Settings
| Setting | Default | What it does |
|---|---|---|
Field in the streamfield |
matrix | |
Colourscolormap |
viridis | One of: viridis, magma, coolwarm, gray |
Lowest valuemin |
empty | Empty = the smallest in the matrix |
Highest valuemax |
empty | Empty = the largest in the matrix |
Write the values in the cellsvalues |
off |
Where it runs
In the browser, on the flow's View page and in the run's results, in a sandbox without network access. It needs no worker.
More in Visualizers
3D viewThe project's 3D view: draws whatever the project gives it (scenes, 3D files, live positions, robots with any number of joints, several at once, fleets, rockets, vehicles), with the models, textures and sounds of the project's assets; live while a run goes on, then replays; numbers, events and controls on top.CameraThe camera of the computer you are using: watch it, take pictures, record videos, and send frames to running blocks.ChartLines, areas, steps, points, bars or a histogram, from a table or a live stream.ControlsButtons, sliders, switches, text boxes and boards of cells that send commands to the blocks of a running run.GaugesDials or large numbers with the latest values of a live stream, a table or metrics.ImagesA gallery of images from files, and live pictures from a stream.