quil

2019-08-13T01:04:32.010Z

I translated this from an example in java processing.

(defn dotted-line [x1 y1 x2 y2 dots]
  (doseq [i (range dots)]
    (let [x (q/lerp x1 x2 (/ i dots))
          y (q/lerp y1 y2 (/ i dots))]
        (q/point x y))))

2019-08-13T01:42:51.010500Z

@ericcervin Very nice - Thanks!