| 'DOCUMENTATION' | ~~ this game library lets you create a canvas that you can update every frame . you can start a game like so : // '' start a 400 by 600 game and you can create a game loop that updates like this : / '' game loop $dt / '' do something '' do something else '' next frame || '@include' ( lib/gas.nv lib/platforms/browser_dom.nv lib/platforms/browser_game.nv ) | '' start a $x by $y game | '@graphics' . canvas init canvas . set resolution $x $y 'DOM' ( > ) '' game loop 0 | '' next frame | '' @gas is now 50000 '@js' window.requestAnimationFrame(nextFrame); || '@js' let then = 0; const nextFrame = (now) => { const dt = now - then; then = now; f("", "game", "loop", dt); me.run(); }