function run() {
        requestAnimationFrame(run);
        
        if (controls.paused()) {
            timeLastFrame = false;
        }
        else {
            draw();
            animate(controls.millisecondsPerDay());
        }
    }
/**
     * Runs on every animation frame.
     * @method run
     */
Runs on every animation frame.
@method run
Runs on every animation frame . @method run
function run() {
        requestAnimationFrame(run);
        if (controls.paused()) {
            timeLastFrame = false;
        }
        else {
            draw();
            animate(controls.millisecondsPerDay());
        }
    }
function run ( ) { requestAnimationFrame ( run ) ; if ( controls . paused ( ) ) { timeLastFrame = false ; } else { draw ( ) ; animate ( controls . millisecondsPerDay ( ) ) ; } }
Runs on every animation frame.
Runs on every animation frame .