ControlP5basics
The following example demonstrates the basic use of controlP5.
After initializing controlP5 you can add controllers to controlP5. Here we use three numberboxes, one slider and one textfield. The numberbox with name numberboxC will trigger function numberboxC() in the example below. Whenever controlP5 detects a function in your sketch that corresponds to the name of a controller, it will forward an event to that function. Any event triggered by a controller will be forwarded to function controlEvent in your sketch.
related examples ControlP5numberbox, ControlP5slider, ControlP5textfield
by Andreas Schlegel 2010

Source code: CNCHotwire

Built with Processing