         (. scatter-plot (remove points))
         (. scatter-plot (add new-points))
         (om/set-state! owner :points new-points)
-
         (.clear renderer)
         (. camera (lookAt (.-position scene)))
         (. renderer (render scene camera))
-        (.log js/console renderer)))))
-
-(defn update-plot [e]
-  (log/fine l "new datoms"))
+        ))))
 
 ;; ref: http://bl.ocks.org/phil-pedruco/9852362
 (defcomponent plot-view

            (v (x-scale (:x-cen vpts)) (y-scale (:y-max vpts)) (z-scale (:z-min vpts))) (v (x-scale (:x-cen vpts)) (y-scale (:y-max vpts)) (z-scale (:z-min vpts)))
            (v (x-scale (:x-cen vpts)) (y-scale (:y-min vpts)) (z-scale (:z-min vpts))) (v (x-scale (:x-cen vpts)) (y-scale (:y-min vpts)) (z-scale (:z-max vpts)))
            ]]
    (println vpts)
    (println (x-scale (:x-max vpts)))
    (doseq [v vs]
      (-> new-line-geo .-vertices (.push v)))
    (log/fine l "updating lineo geo")
    (. scatter-plot (remove line))
    (let [new-line (-> (js/THREE.BoxHelper. (js/THREE.Line. new-line-geo
                                                            line-material

                    (om/set-state! owner :sy (+ sy dy))
                    ))
           (log/warning l "nothing!"))
         (recur (alts! [down up move]))))
     (let [{:keys [renderer camera scene scatter-plot w h]} (om/get-state owner)]
       (. renderer (setSize w h))
       (dommy/append! (om/get-node owner "plot") (.-domElement renderer))
       (. renderer (setClearColor 0xEEEEEE 1.0))
       (. scene (add scatter-plot))
       (aset camera "position" "x" 200)
       (aset camera "position" "y" -100)
       (aset camera "position" "z" 100)
       (aset scatter-plot "rotation" "y" 0)
       (render owner (om/get-state owner :datoms))
       (animate renderer camera scene (.getTime (js/Date.)))))

   )
  (render
