quil 2025-04-09

What physics library (if any) do people use with quil? (I ask because I am working through Nature of Code in Clojure, and have gotten to the Physics Library chapter; after doing some quick searching I haven't found any obvious answer about which is the best one to use or the most popular.)

I would expect box2d to be the most popular choice.

👍 1

Thanks, lemme check that out.

If you want a minimal Clojure implementation, you can find one in https://github.com/thi-ng/geom

👀 1

Otherwise, wrapping one of a Java library (like box2d, as @p-himik said) is a fine choice

Nice, thanks. I'll play around with geom and see if it does what I need.

Awesome, thanks!

hey hey, a bit late catching up here, just wanted to mention that https://github.com/lambdaisland/cljbox2d/ exists, including some helpers and example code for using it with quil.

> I ask because I am working through Nature of Code in Clojure Such a great book!

I have a little notebook of my working through here: https://ramblurr.github.io/nature-of-code/ I need to get back to that..oh the time

Love to see you using Clerk for this 😊

🙌 1

It's a great fit 🙂