This PR swaps the map container to use the frame buffer API for graphics rendering instead of the slower context api. This speeds things up significantly.
In doing so I noticed that there was a bunch of shared code for setting up the pixel data. So I extracted that into a pixelData file which handles constructing of the typed buffers and rendering of the buffers to a given canvas context.
This PR swaps the map container to use the frame buffer API for graphics rendering instead of the slower context api. This speeds things up significantly.
In doing so I noticed that there was a bunch of shared code for setting up the pixel data. So I extracted that into a pixelData file which handles constructing of the typed buffers and rendering of the buffers to a given canvas context.