clojure-art

reefersleep 2025-02-21T15:30:10.278899Z

I haven't posted here instead of #quil because I wasn't aware of this channel 😄 TBH none of my current art is written in Clj/CLJS, it's all JS. But it's fun to share, anyway, right? And allowed? 😅 Recent fun with nested rectangles. (The formation of rectangles is generatively created) https://clojurians.slack.com/files/U0AQ3HP9U/F088E12S42J/6x6i.png

❤️ 2
reefersleep 2025-03-25T09:37:12.180369Z

It's a very specific one, yes 😄 p5js 🙂

reefersleep 2025-03-25T09:38:09.803049Z

Though I suppose that this particular set of sketches is very anemable to raw canvas... I don't use any particularly deep/complex library fns, I think.

reefersleep 2025-03-25T09:41:45.388709Z

Haven't ever tried something like that, though, I've only used quil and p5js, so don't know first hand what the difference is like.

reefersleep 2025-02-22T14:14:45.283169Z

I did use quil a long time ago, but found more guides and stuff that were based on Javascript, and had some performance issues that I (erroneously, I think) blamed on Clojure. Plus, it's an opportunity to work with a language that I don't work with every day. And to be reminded why I love Clojure 😁

reefersleep 2025-02-22T14:15:42.900709Z

Js is such a mess, comparatively

reefersleep 2025-02-22T14:21:49.112879Z

This is before I figured out how to do tiles that were more than 1 tile wide. I tend to accidentally write myself into odd restraints sometimes.

reefersleep 2025-02-22T14:26:15.252259Z

And this is after

p-himik 2025-02-22T14:44:22.774369Z

performance issues that I (erroneously, I think) blamed on ClojureIt's probably Quil and not Clojure itself: https://github.com/quil/quil/issues/354

👀 1
Ivar Refsdal 2025-02-22T20:05:29.141489Z

Cool stuff 🙂

reefersleep 2025-02-22T21:33:49.627429Z

Thanks @ivar.refsdal!

2025-03-25T01:30:06.884479Z

Very cool! Are you using any specific JS libraries or is it raw canvas?

p-himik 2025-02-21T15:35:28.934809Z

Oh, why JS instead of CLJS?