Last active
August 29, 2015 14:15
-
-
Save guidoschmidt/ce56994c8008013f53a0 to your computer and use it in GitHub Desktop.
Create second Applet window
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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