This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-13
Channels
- # announcements (2)
- # beginners (15)
- # calva (6)
- # cider (3)
- # cljsrn (1)
- # clojure (33)
- # clojure-hk (4)
- # clojure-uk (9)
- # clojurescript (13)
- # cursive (5)
- # datomic (6)
- # figwheel-main (1)
- # fulcro (5)
- # graalvm (12)
- # instaparse (1)
- # kaocha (1)
- # nrepl (6)
- # off-topic (5)
- # pedestal (10)
- # quil (8)
- # reitit (2)
- # ring (5)
- # shadow-cljs (10)
- # sql (1)
- # vim (13)
Here’s my version of circle packing https://github.com/rollacaster/sketches/blob/master/src/sketches/generative_artistry/circle_packing.cljs I created it after following the tutorial here https://generativeartistry.com/tutorials/circle-packing/ It’s not an ideomatic solution because I didn’t understand what that meant when I wrote this code. 😄 but it gets better 🙂 When I find the time, I try to refactor the sketch again with everything I’ve learned since then.
Aha, idiomatic or not, I hadn’t realized it was possible to have multiple recur
s in a loop.
I’ve found and installed Replete, but it seems (?) like it’s more geared towards line-by-line evaluations and I’m not sure you can’t install 3rd party libraries
If you use Quil >=v.3.0.0.0 with cljs, p5.js will be used under the hood. I’ve never tried Replete, but I’m currently porting a React Native app from JS to CLJS with re-natal and it works very well with all JS 3rd party libs so far. I haven’t tried using Quil, but I guess I’d try using it along with react-native-canvas.