 
 (defn draw-splats [path]
   (doall (map (fn [[position _ mass]]
-                (q/stroke-weight mass)
+                (q/stroke-weight (mass-to-weight mass))
                 (apply q/point (position-to-pixel position)))
               path)))
 

;; work out the impact force of the paint and use this as a cutoff for
;; whether the paint should splatter.

;; In order to work out this value as a scalar we will need to be able
;; to calculate the absolute value of a vector. This can be done by
;; summing the squares of the vector's components and then taking the

;; points. Also defined is a minimum force for us to consider whether
;; some paint could splatter.

(def min-impact-force-for-splatter 30)

(defn does-impact-splatter? [mass velocity]
  (and (> (impact-force mass velocity) min-impact-force-for-splatter)
