Structs

Traits

Converts grids of different element types to RGB grids

Functions

Will repeatedly call the given callback to assign colors to the underlying grid values.

Uses the given color map to translate values into colors at a uniform scale.

Converts an f32 grid to greyscale RGB

Converts a grid of [i32; 3] elements to R, G and B

Converts an i32 grid to greyscale RGB

Renders grid output to RGB images and passes them back to Python through a callback function