This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-09-16
Channels
- # announcements (7)
- # babashka (1)
- # beginners (125)
- # bristol-clojurians (4)
- # calva (49)
- # cider (10)
- # cljs-dev (3)
- # clojure (102)
- # clojure-berlin (3)
- # clojure-czech (4)
- # clojure-europe (84)
- # clojure-france (29)
- # clojure-italy (2)
- # clojure-nl (26)
- # clojure-norway (5)
- # clojure-spec (4)
- # clojure-sweden (4)
- # clojure-uk (50)
- # clojurescript (3)
- # community-development (2)
- # conjure (19)
- # cursive (9)
- # datascript (4)
- # datomic (33)
- # fulcro (4)
- # off-topic (26)
- # parinfer (10)
- # pedestal (4)
- # quil (8)
- # re-frame (1)
- # reagent (20)
- # remote-jobs (5)
- # reveal (53)
- # sci (10)
- # shadow-cljs (37)
- # spacemacs (6)
- # sql (25)
- # tools-deps (24)
- # vrac (2)
- # xtdb (10)
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 "") 0 5 )
)
(defn draw-state [state]
(q/image (q/load-image "") 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