Initialize the SiliconGhetto engine on a canvas element.
The HTML id of the canvas element to render into
The rendering width in pixels
The rendering height in pixels
await sg.init('game', 800, 600); Copy
await sg.init('game', 800, 600);
Initialize the SiliconGhetto engine on a canvas element.