writing a GUI in processing

When I first started looking into the Processing language it is quickly apparent that out of the box there is very little in the way of handling user input by way of GUIs. This has been rectified in a very nice way by the team who developed controlP5 this is in my opinion the easiest GUI library I’ve ever used enabling me to create sliders and knobs in a matter of minutes, having programmed very little in processing before. What I came up with is the start of the interface for my planned ardunio controlled synth system:

import controlP5.*;

ControlP5 controlP5;
int myColorBackground = color(0,0,0);

void setup() {
controlP5 = new ControlP5(this);
controlP5.addSlider("Duty Cycle",0,100,50,250,50,10,100);

void draw() {