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

If I have the following project structure

shawx53800:12:42

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

shawx53800:12:00

Where should I put an image to load with load image

shawx53800:12:12

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

shawx53800:12:45

I have tried next to core.clj

shawx53800:12:17

but no dice

shawx53800:12:35

Ah, other detail.

load-image
is failing with nullpointer

shawx53800:12:43

not a file not found exception

shawx53800:12:14

(def present-image (atom nil))

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