docs: function onFrame(){
          if (!GameView.isRunning()) return;
  
          //Every ten frames trigger a player update
          if (++frameCount >= 10){
              gameData.trigger("change:player", {angle:currentAngle, isAccelerating:mouseDown});
              frameCount = 0;
          }
  
          render(); //Render the canvas
          requestAnimationFrame(onFrame);
      }