[PD] 2D radio buttons object or abstraction?

Albert Rafetseder albert.rafetseder at univie.ac.at
Tue Dec 12 14:05:32 CET 2023


> Before reinventing the wheel: does anyone know of a library that would
> contain something akin to radio buttons but in 2D?

I don't, though I'd be interested too.

If you can make do without a visible grid of buttons, and deduce button 
presses from coordinates on a plane instead, the available 2D / xy 
sliders + a bit of dividing/rounding could work:

* xyslide: 
https://forum.pdpatchrepo.info/topic/8656/xy-slider-controls-two-variables-at-once
* xyz-slider: 
https://forum.pdpatchrepo.info/topic/13818/xyz-slider-3-d-slider-using-mouse-scrollhweel
* xy controller using data structures: 
https://forum.pdpatchrepo.info/topic/2699/xy-control
* Forum thread full of useful links: 
https://forum.pdpatchrepo.info/topic/10854/xy-abstraction-to-get-mouse-click-and-drag-coordinates-vanilla
* ...including in particular ELSE/slider2d

Best,
   Albert.





More information about the Pd-list mailing list