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

If I have the following project structure

Charlot00:12:42

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

Charlot00:12:00

Where should I put an image to load with load image

Charlot00:12:12

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

Charlot00:12:45

I have tried next to core.clj

Charlot00:12:17

but no dice

Charlot00:12:35

Ah, other detail.

load-image
is failing with nullpointer

Charlot00:12:43

not a file not found exception

Charlot00:12:14

(def present-image (atom nil))

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