When invoking regl methods, pass explicit string properties rather than literal property names to prevent renaming by aggressive minifiers/compilers. Also setting preserveDrawingBuffer to true and explicitly clearing the drawing buffer before each draw. This ensures that upstream applications taking screenshots will be able to read the pixels of the canvas.
When invoking regl methods, pass explicit string properties rather than literal property names to prevent renaming by aggressive minifiers/compilers. Also setting
preserveDrawingBuffer
totrue
and explicitly clearing the drawing buffer before each draw. This ensures that upstream applications taking screenshots will be able to read the pixels of the canvas.Fixes #32