Control multiple points/buttons via mouse


#1

I have this setup going on where I can control the ellipse(s). However, is giving me great difficulty when controlling multiple points. I have everything setup where a simple boolean should control each point(s).

I thought immediately constraints but then freezes at the boundaries, then I thought buttons however buttons are freezing the UI as well. Any pointers would be great! Everything’s set to a timer callback and is being controlled via mouse listener.


#2

Here is an ‘envelope component’ I wrote a few years ago. I might do some JUCE things differently, based on having more experience, and it’s not up to date modern c++, but it may be a good starting point for you.envelope.zip (1.1 MB)