Ohi!
quil with clojurescript, i'm trying to draw a kitten to the screen par le exampla de internets and...
(defn update-state [state]
(q/image (q/load-image "<https://placekitten.com/100/100>") 0 5 )
)
(defn draw-state [state]
(q/image (q/load-image "<https://placekitten.com/100/100>") 0 5 ))
not doin' anything! What up ? am I not invoking this right? my run-sketch says :setup setup and :update update-state :draw draw-state ...
how else can i load an image o.o
when the documentation says "images must be in the data directory of the current sketch" does that mean /public/resources/ ?
err /resources/public/. ?
Seems like no matter where I put the image files they do not get loaded, but I did successfully load an image from a url (placekitten)
I think I've tried every directory possible in my CLJS project to load an image in the rendering.... remote URL works fine, local image... hands up nonchalantly