Step 5: Putting Things Together
TouchOSC actually allows you to control far more than just the value of the element. You can also (in most cases) control it's color, position, size, etc...
So along with sending a message to "/1/led1" with the LED brightness, we send a message to "/1/led1/position/y" to control it's y-position on the screen.
All of the controls are pretty well documented on this page.
After a whole bunch of tweaking you end up with this code and cute little robot face on your phone.
mimbo_accel.pde4 KB
Remove these ads by
Signing Up
























Not Nice















Visit Our Store »
Go Pro Today »



