Below is how to define a HTML5 canvas to the Digipiph Game Manager.
window.onload = function() { var gameCanvas = dgm.setupCanvas(document.getElementById("gameCanvas")); };
With the canvas on the HTML page being:
<canvas id="gameCanvas" width="544" height="416"></canvas>