Preset backgrounds
Four presets are available out of the box:Custom backgrounds
For full control, pass a custom render function:render function receives a CanvasRenderingContext2D, the current Viewport, and the canvas dimensions. It’s called every frame, so keep it efficient.