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
recurs in a loop.
That will likely solve my issue
(Or inlining some if statements)
Is there a clear winner for cljs development on iOS with Quil?
Would settle for P5.js (though I know this isn’t the proper channel for that)
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.188.8.131.52 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.