              :refer [put! take! <! >! chan timeout sliding-buffer]
              :as async]
             [cljs-time.core :as t]
-            [cljs-time.coerce :as c]))
+            [cljs-time.coerce :as c]
+            [bardo.ease :refer [ease]]))
 
 (enable-console-print!)
 


(defn transition
  ([state target] (transition state target 500))
  ([state target duration] (transition state target duration :linear))
  ([state target duration ease]
     (let [out (chan)
           tween-fn (tween state target)
           ease-fn (get ease-fns ease)
           start (t/now)
           speed-target 16
           speed-tolerance 1

        now (c/to-long (t/now))]
    (- now start)))

(defn tween
  [state target]
  (fn [t]
