This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-08-18
Channels
- # announcements (22)
- # asami (7)
- # babashka (43)
- # beginners (68)
- # biff (2)
- # calva (10)
- # clj-kondo (7)
- # cljdoc (29)
- # clojure (41)
- # clojure-austin (1)
- # clojure-brasil (2)
- # clojure-europe (25)
- # clojure-gamedev (3)
- # clojure-nl (2)
- # clojure-norway (9)
- # clojure-uk (31)
- # clojurescript (3)
- # community-development (7)
- # cursive (3)
- # data-science (4)
- # datomic (17)
- # emacs (30)
- # honeysql (10)
- # hyperfiddle (39)
- # introduce-yourself (1)
- # jobs-discuss (5)
- # kaocha (1)
- # lsp (11)
- # malli (12)
- # pathom (18)
- # pedestal (3)
- # proletarian (2)
- # quil (11)
- # rdf (46)
- # reitit (8)
- # releases (2)
- # shadow-cljs (34)
- # sql (3)
- # squint (10)
- # tools-deps (24)
- # xtdb (10)
👋:skin-tone-2: Good news! We’ve been https://www.clojuriststogether.org/news/q3-2023-funding-announcement/ to update Quil and get everything into a good, maintainable state going forward. Can I get a few testers to try out this Quil release candidate? It should work on recent JVMs on MacOS/Linux/Windows, including Apple’s M1 arm chips. If you download this jar and follow the https://clojure.org/guides/deps_and_cli#_using_local_libraries, the OpenGL renderer should just work. Thanks in advance!
works on my machine
• (System/getProperty "java.runtime.version") ;; "17.0.2+8-86"
• ported the first example: https://www.andrew.cmu.edu/course/60-257/reference/libraries/opengl/index.html
• Apple M1 Pro
I just ran all the examples in https://github.com/quil/quil-examples/tree/master on Apple M1 Pro using Temurin-17.0.8+7
. They all work as expected and the sketches in gen_art
look exactly like the images in the gen_art/images
folder (minus the randomness of course).
However, the OpenGL example 3D Sphere
from 26_sphere.clj
does look a little different in its mesh (thicker strokes, diagonals face the other direction) and in the P3D example A Cube of 3D Noise
from 28_cloud_cube.clj
the rotation is slow and jagged. This may be expected, but I can’t tell since I don’t have any experience in 3D rendering. Both examples crash on my computer with the old Quil (Java 8), so I don’t have a comparison other than the images.
Processing was my first real introduction to programming and I had so much fun with it back in the day. I always liked the idea of mixing Processing with the more dynamic approach of Clojure, so it’s really great to see that it’s being updated and maintained!
Thank you both for testing!
I also checked https://github.com/rollacaster/nature-of-code. All the sketches I ran worked fine on MacOS (intel chip). Thanks a lot for, keeping Quil in a good state 🙌 The last time I tried to use Quil, I was struggling to find a proper setup to make it work.
Is it possible to use the latest quil from git master? I tried installing it in my deps.edn, but the current master is referring to local jar libs that aren't in the tree
@U70QFSCG2 The build process requires one to download and unpack some things from the right version of Processing, so it doesn’t work as a git dep. We’ll have a release candidate up on Clojars in the first week of October 🙂
@U07SQTAEM will the ClojuristsTogether funded work include getting modern cljs support with shadow-cljs (ref: https://github.com/quil/quil/issues/376) ?
@U70QFSCG2 The p5js side is in @UMGAMGWF8’s capable hands (see: dgtized on that ticket). He has landed an upgrade to the latest version in the git repo already, so that will be included in the RC next week. As for Shadow, I think we want to make sure that everything is build tool neutral, but we definitely want it to work well with Shadow 🙂
I got it working!! However I am unsure which combination of jogamp deps made it work.
org.jogamp.gluegen/gluegen-rt {:mvn/version "2.5.0"}
org.jogamp.gluegen/gluegen-rt$natives-linux-amd64 {:mvn/version "2.5.0"}
org.jogamp.jogl/jogl-all {:mvn/version "2.5.0"}
org.jogamp.jogl/jogl-all$natives-linux-amd64 {:mvn/version "2.5.0"}
org.jogamp.jogl/jogl {:mvn/version "2.5.0"}
org.jogamp.jogl/jogl$natives-linux-amd64 {:mvn/version "2.5.0"}