        (events->chan js/window EventType.MOUSEUP up)
        (events->chan js/window EventType.MOUSEMOVE move)
        (go-loop [[event c] (alts! [down up move])]
-         (.log js/console event)
-         (.log js/console "up: " (= up c))
-         (.log js/console "down: " (= down c))
-         (.log js/console "move: " (= move c))
-         (.log js/console "c: " c)
          (condp = c
            down (do
                   (log/fine l "DOWN")

   (let [w 950 h 500
         line-geo (js/THREE.Geometry.)
         line-material (js/THREE.LineBasicMaterial.  (clj->js  {:color 0x000000
                                                                :lineWidth 2}))]
     {:renderer (js/THREE.WebGLRenderer. (clj->js {:antialias true}))
      :camera (js/THREE.PerspectiveCamera. 45 (/ w h) 1 10000)
      :scene (js/THREE.Scene.)

                line-material
                points
                p-mat
                w h ]}
        (om/get-state owner)
        new-line-geo (js/THREE.Geometry.)
        x-event (-> d3 (.extent datoms #(:x %)))
        y-event (-> d3 (.extent datoms #(:y %)))
