   (poly/set-title! (get-in @state [:app :name]))
   (setup-event-channels!)
   (setup-event-subscriptions!)
-  (setup-simple-animation!))
+  (start-rendering!))
 
 (defn teardown []
   (console/info "teardown")
-  (teardown-simple-animation!)
+  (stop-rendering!)
   (teardown-event-subscriptions!)
   (teardown-event-channels!))
 



;; -----------------------------------------------------------------------------
;; Simple Animation Cycle

(defn animate [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])

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