Fork me on GitHub
#introduce-yourself
<
2022-02-11
>
Eric20:02:17

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
4
eggsyntax00:02:27

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

❤️ 1
Eric19:02:17

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

eggsyntax20:02:32

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: http://www.quil.info/, 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. http://thi.ng, 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 (https://www.youtube.com/user/ClojureTV) and especially Strange Loop (https://www.youtube.com/c/StrangeLoopConf). Have fun! 😁

1
gratitude-merci 1
eggsyntax20:02:07

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

eggsyntax00:02:17

Awesome, thanks!

eggsyntax00:02:20

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.

1
Eric01:02:37

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 [https://github.com/quil/quil/wiki/Functional-mode-%28fun-mode%29] 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
Eric02:02:24

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
Eric02:02:07

Oh, since you mentioned Strange Loop videos... here's one by Tyler Hobbs at Strange Loop, talking about Quil 😄 https://youtu.be/5R9eywArFTE

metal 1
eggsyntax14:02:09

> 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.

1
Eric17:02:47

Awesome! I appreciate all your guidance, @U077BEWNQ!

eggsyntax19:02:51

My pleasure!