 ;; equation so we should define some more functions before trying to
 ;; implement it. The first is the vector dot product, this is defined
 ;; as the sum of the multiples of each dimension. Otherwise we need
-;; substraction of two vectors and a function to multiply a vector by
+;; subtraction of two vectors and a function to multiply a vector by
 ;; a constant.
 
 (defn dot-product [vector1 vector2]


;; I've pulled a bunch of colours that Pollock used in his seminal
;; work "Number 8" so that each flick of paint can be rendered in a
;; random colour out of this pallete

(def canvas-colour [142 141 93])



;; Learning Clojure by building a digital Jackson Pollock. This
;; article and the source code backing it can be [found on
;; GitHub](https://www.github.com/tombooth/painting-in-clojure).
;; Below is an example of what we will be building, running the code
;; found in this page.

