Change array variable with ControlP5
in
Contributed Library Questions
•
2 years ago
Hello world!
i have lots of array variables boxsize[1], boxsize[2], boxsize[3] etc.
and I want to change these vars with controP5 slider.
I tried something like this
- for (int i=0;i<n;i++) {
- controlP5.addSlider("boxsize["+i+"]",1,20);
- }
1