WebCanvasRendererFactory
Parameters
canvas
the HTMLCanvasElement or OffscreenCanvas to draw into.
keepDisplayAwake
whether the page's screen stays awake while pictures are drawn, and for two seconds after the last one (#238). See WebCanvasVideoRenderer.
Keeps the original canvas constructor with display wake enabled.