Fork me on GitHub
#quil
<
2022-02-21
>
chagas.vis18:02:39

Hello everyone, I am currently studying creative programming using Quill and I am enjoying it a lot. I am using the "Nature of Code" in my studies and in the book a series of interesting concepts of movement and physics are developed using the PVector class of Processing. I would like to ask if exists an interest to implement in Quill some kind of Clojure constructor analogous to the class?

Charles Comstock09:02:54

I've been using https://github.com/thi-ng/geom/blob/feature/no-org/src/thi/ng/geom/vector.cljc for this, it's got some rough edges but it's solid as a vector implementation.

👍 1
Charles Comstock21:02:18

Yea, unfortunately both fastmath and vectorz are Clojure only so don't work so well if using Quil with CLJS.

genmeblog21:02:22

true, they are jvm based

plexus19:03:23

maybe also interesting, I worked on this last year https://github.com/lambdaisland/cljbox2d

👍 1
🎉 1
plexus19:03:41

it's cljc, uses similar libraries under the hood on clj and cljs