 (ns ^:figwheel-always carousel.core
-    (:require-macros [cljs.core.async.macros :refer [go]])
+    (:require-macros [cljs.core.async.macros :refer [go]]) 
     (:require [com.famous.Famous]
-              [carousel.util :refer [events->chan]]
+              [carousel.util :refer [events->chan get-children]]
               [cljs.core.async :refer [>! <! put! chan alts!]]))
 
 (enable-console-print!)

      (.. simulation (add box spring rotational-spring)))
    
    pages))
  
(defn Carousel []
  (let [simulation (PhysicsEngine.)
        context (.. FamousEngine (createScene "body"))

(defonce famous js/famous)
(defonce DOMElement (.. famous -domRenderables -DOMElement))
(defonce FamousEngine (.. famous -core -FamousEngine))
(defonce Node (.. famous -core -Node))
(defonce GestureHandler (.. famous -components -GestureHandler))
(defonce Size (.. famous -components -Size))

