The CellGrid.RenderWebGL package provides functions for rendereing CellGrid to WebGL
The type of vertices of triangles: define position and color.
Render a CellGrid to a width_ x height_ rectangle on the screen using a function temperatureMap which transforms scalars to color vectors
Render a WebGL "drawing" to a given rectangle on the screen.
Create a mesh from a cell grid using a temperatureMap. The latter assigns to a temperature a triple of RGB values.
Crreate a rows x cols Vertex Mesh representing an array of rectanagles of size (dw, dh). The vertex colors (uniform over a rectangular cell) are determined by the colorizer functionion which has type (Int, Int) -> Vec3
The type of a function which assigns a color to a cell, the latter given by its row and column indices