 (defn start-rendering! []
   (console/info "start rendering")
   (swap! state assoc-in [:app :rendering?] true)
-  (poly/listen-animation-frame! on-env-animation-frame))
+  (poly/listen-animation-frame! cycle!))
 
 (defn stop-rendering! []
   (console/info "stop rendering")

  (atom
   {:app {:name "Spinning"
          :version "0.1.0"
          :measure-fps? false
          :rendering? false
          }

          :env-mouse-click nil
          :env-mouse-move nil
          }
    :env {:frame-count 0
          :frames-per-second 0
          :keyboard-key nil
          :mouse-move nil
          :time nil
          }
    :gui {:cells nil
          :generation 0
          }}))

