We are about to switch to a new forum software. Until then we have removed the registration on this forum.
hello forum,
i m a processing beginner. i want to do an led project with the adafruit fadecandy, neopixel led strips and processing as controlling software.
my idea is to program a gui with processing. i want to have gui with different buttons and control elements to manipulate the action performed by the leds. this includes that draw() should not only do one action that can be manipulated, i would like to have different animations in draw depending on the selected button.
basically: click button1: draw makes a pulsating ellipse on the leds click button 2: draw makes the a leds blink in a strobe like manner click button 3: draw makes something completely different...and so on
but until now i couldn t find any example of a program which is doing this.
what i found out is that the controlp5 library helps me with the control elements.
Is it possible to program such an gui with processing? Can somebody give me suggestion how to build such a program?
best simon
Answers
Sure it's possible! Just use ControlP5 (for example with tabs or a radiobutton) and check which animation it should draw depending on the state.
I modified the RadioButton example sketch:
hey colouredmirrorball,
thanks very much...now i get an idea...