Fork me on GitHub
#quil
<
2018-12-09
>
unwarysage00:12:15

If I have the following project structure

unwarysage00:12:42

/
    /project.clj
    /src/ 
           /namespace/
                                /core.clj

unwarysage00:12:00

Where should I put an image to load with load image

unwarysage00:12:12

I have tried in the root, next to project.clj

unwarysage00:12:45

I have tried next to core.clj

unwarysage00:12:35

Ah, other detail.

load-image
is failing with nullpointer

unwarysage00:12:43

not a file not found exception

unwarysage00:12:14

(def present-image (atom nil))

(defn set-present-image! [img-path]
  (reset! present-image (q/load-image img-path)))