Using #Processing's #ControlP5 #GUI library with #py5
https://discourse.processing.org/t/controlp5-in-py5/45799/2?u=villares
@tom 🙏
I have to study #ControlP5 again, it has been a long time since I fiddled with it on Processing Java, it's a cool library!
https://sojamo.de/libraries/controlP5/
We were discussing maybe one could make a wrapper for it to integrate better with py5
https://github.com/py5coding/py5generator/discussions/606#discussioncomment-12270984
There is a hidden command line tool in py5 that will download for you the jars from the Processing Libraries collection index...
https://processing.org/reference/libraries
One of my favorite Processing libraries was PeasyCam, that gave you "drag orbit" with 2 lines of code... (but I haven't been able to make it work with py5 yet)
#ControlP5 example. This is a Processing Java library, but it can be used with py5 :) Code at: https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_02_20
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
If you like this, support my work: https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724 #GUI #Processing #Python #py5 #CreativeCoding
Nice #ControlP5 examples https://tabreturn.github.io/code/processing/python/2019/03/19/processing.py_in_ten_lessons-7.5-_controlp5.html
I think the second window thing can be useful sometimes if you want to free up space in a "main" sketch and have all the controls on a secondary window, but it is not "essential". https://discourse.processing.org/t/how-to-use-controlp5-in-second-window-using-python-mode/13253
#Processing 4 doesn't come with any GUI widgets? You have to make your own :(
Seems like an oversight imo, a lot of people want to use Processing for real-time tweaking of generative stuff or viewers or whatever - would love to see something like #controlP5 bundled with it