-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DAT.GUI and other gui libraries #2
Comments
I would also really appreciate an interval-slider! |
One thing I like on dat.gui : being able to hide the GUI altogether (toggled by pressing 'h') |
Hey @rik-brown, thanks for your feedback! |
Hi @craftoid , thanks for the neat lib ! The interval slider is indeed really interesting, you may also want a knob (and an interval knob) - even if I'm not a big fan of knobs when it comes to gui. Sometimes a 2D touch area that returns the normalized coordinates of where it has been touched can be usefull (mostly for audio though I would think). One cool feature might be an easy preset system : to set all the gui elements in one call with json like object. |
@craftoid maybe a way to handle tooltips could be usefull. Sometimes a label is not enough. |
Hey @b2renger, thanks for your suggestions! With regards to the preset system: If we really want2D sliders and range sliders, there's two things we need to do:
Right now the nice thing about p5.gui is, that there's basically a 1:1 mapping between javascript types and user interface elements. So you can magically get a functional API without specifying anything else. I think 2D sliders or knobs would make a lot of sense with respect to the p5 Vector class. Please let me know if you know of a gui library that supports knobs or sliders. Tooltips or alternative labels might be nice. But again, I want to keep p5.gui as simple as possible, to make it easy to switch the library running under the hood. |
Hi @craftoid Indeed vectors and arrays would be the way to go to map a data type to a 2D controller, unfortunately I don't know any popular well supported library that does that. (I used Dat.gui , I will experiment with quicksetting which supports nice widgets like date pickers etc.) I think you are right quicksetting is pretty nice. The way it works will be perfect for teaching : simple and efficient. For more advanced features it's more than all right to ask the user to get his/her hands dirty :) |
Hi @craftoid |
Hey @phillchill Controlkit does look very nice indeed! I will check it out 👍 |
How to change position of GUI or reset initial, after it was dragged? |
check out guify.js. Great little GUI library that me and a few other friends have used extensively (primarily for browser/io game mod consoles) |
Should we support DAT.GUI as well?
Or maybe control-panel?
I really like the idea of the interval slider.
This makes a lot of sense for generative design ...
Any other ideas?
The text was updated successfully, but these errors were encountered: