    {:app {:name "Spinning"
           :version "0.1.0"
           :measure-fps? false
-          :simple-animation? false
+          :rendering? false
           }
     :ech {:env-keyboard-key nil
           :env-mouse-click nil

  (poly/set-title! (get-in @state [:app :name]))
  (setup-event-channels!)
  (setup-event-subscriptions!)
  (setup-simple-animation!))

(defn teardown []
  (console/info "teardown")
  (teardown-simple-animation!)
  (teardown-event-subscriptions!)
  (teardown-event-channels!))




;; -----------------------------------------------------------------------------
;; Render Cycle

(defn render! [timestamp state]
  (let [app-name (get-in state [:app :name])
        env-time (get-in state [:env :time])
        fps (get-in state [:env :frames-per-second])
