         ))
 
 (def my-code-url "https://github.com/pauldoo/scratch/blob/master/ClojureScript/hello.cljs")
-(def tick-step (/ 1 200))
-(def render-step (/ 1 30))
-(def gravity-strength 500)
-(def ground-strength 200)
+(def tick-step (/ 1 100))
+(def render-step (/ 1 25))
+(def gravity-strength 300)
+(def ground-strength 100)
 (def initial-game-state {
     :nodes {
         :t {
+            :pos [50 100]
+            :vel [0 0]
+        }
+        :u {
+            :pos [250 200]
+            :vel [0 0]
+        }
+        :v {
             :pos [150 100]
-            :vel [0 0]
-        }
-        :u {
-            :pos [350 200]
-            :vel [0 0]
-        }
-        :v {
-            :pos [250 100]
             :vel [0 0]
         }
     }

(def magnitude-squared (comp (partial apply +) (partial map #(* % %))))
(def magnitude (comp Math/sqrt magnitude-squared))
(def normalize (comp (partial apply vec*) (juxt identity (comp (partial / 1.0) magnitude))))

(defn calculate-force [node-a node-b rest-length strength]
    (let [a-b (vec- node-a node-b)

            (update-node-positions
                (update-node-velocities
                    (:nodes state)
                    (calculate-all-node-forces state)
                    tick-step)
                tick-step)))

