Skip to content

Instantly share code, notes, and snippets.

@guidoschmidt
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guidoschmidt/ce56994c8008013f53a0 to your computer and use it in GitHub Desktop.
Save guidoschmidt/ce56994c8008013f53a0 to your computer and use it in GitHub Desktop.
Create second Applet window
import controlP5.*;
ControlP5 cp5;
void setup()
{
size(800, 800, P2D);
cp5 = new ControlP5(this);
cp5.addSlider("slider")
.setRange(0, 200)
.setValue(100);
}
void draw()
{
}
public void slider()
{
println("A Slider Event");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment