      steps -= 1;
      }

      initialTime = new Date().getTime();
    }

    function render() {
      initialTime = new Date().getTime();
      setInterval(onFrame, animationRate / 1000);
    }

    function init() {
      configure();
      load();
      render();

      initControls();
    }

    window.onload = init;

    function initControls() {
      utils.configureControls({
        'Camera Type': {
          value: camera.type,
          options: [Camera.ORBITING_TYPE, Camera.TRACKING_TYPE],
   