Fork me on GitHub

Hi, Clojurians! I'm a retired compiler hacker now trying my hand at generative art. I read (on Tyler Hobbs' blog) that Clojure is good for that. As a C++ and Python developer previously, I always loved regular expressions and dabbled with some of that ReactiveX stuff, so what I've learned about Clojure so far feels somewhat familiar but also new and exciting to me. I can't wait to learn from you all and share my experience as well. 👋:skin-tone-3:

👋 8

Welcome! Tyler Hobbs is awesome. Nice to hear that he's into Clojure these days 😄 You might enjoy #clojure-art.

❤️ 1

Oh, fantastic! Thanks for the channel. I was wondering if there was a way to connect with other artists writing Clojure.


My pleasure! The Clojure generative art community isn’t that big, but of course the generative art community isn’t that big 😆 Personally I think Clojure is especially suited to generative art only because it’s the best general-purpose high-level language out there, but that’s a big win all by itself, of course. A couple of tools to be aware of are:, which is built on Processing — it’s a good tool with the caveat, that because Processing is pretty OO-ish, Quil code is generally less idiomatic and functional than most Clojure code in my experience., which is one person’s extremely opinionated & somewhat idiosyncratic take on approaching generative art in Clojure. There are certainly others out there, but those are the two that spring to mind immediately. There are also some great generative-art-in-Clojure/Script talks out there from the Clojure conferences ( and especially Strange Loop ( Have fun! 😁

gratitude-merci 1

BTW I’d be curious to get a link to the Hobbs post you mentioned if you happen to have it on hand.


Awesome, thanks!


Oh wow, he's been doing Clojure a lot longer than I realized! I think there have been significant changes to Quil since then (they introduced a much more functional mode; I think that was post-2015), so you may not want to treat that post entirely as gospel -- the Clojure community tends to value backward-compatibility pretty highly, so it's quite plausible that everything in there will still work, but there may well be simpler / more ergonomic approaches to some of it.


Thanks for the warning. Yeah, I have noticed some of those changes since I joined this Slack group. I'm going to try using that fun mode [] since I want to stay as close to the functional programming paradigm as possible. I also noticed that people seem to be favoring this deps.edn way of configuring projects over Leiningen now, but I have yet to see any Quil tutorials not using lein—even when they're not using the lein quil template. Is that true?

👍 1

That one should be quite modern. It's magical to find an article written about exactly what I want, written this year when it's only February!

🎉 1

Oh, since you mentioned Strange Loop videos... here's one by Tyler Hobbs at Strange Loop, talking about Quil 😄

metal 1

> I also noticed that people seem to be favoring this deps.edn way of configuring projects over Leiningen now, but I have yet to see any Quil tutorials not using lein Sounds like you found the right answer already, but yeah, the change to deps.edn is a relatively recent one. I'd say the majority of people are still using lein, and it's 100% fine to use lein, but it seems clear that over the longer term the community is moving to deps.edn. So I wouldn't necessarily invest a bunch of time learning all the ins and outs of lein, but the basics are pretty quick and easy, so I also wouldn't stress if you're eg following an article that uses lein.


Awesome! I appreciate all your guidance, @U077BEWNQ!


My pleasure!