aaaven_See-Through-Kinect-Spring2018/02_program_a_simple_button/affiliated_controlp5/ControlP5toggle/ControlP5toggle.pde
//Aven, See Through Kinect, Spring 2018
//http://aven.cc
//https://github.com/aaaven/STK2018/wiki/

void setup() {
  size(400, 400);
  smooth(); 
  setupControlP5();
}


void draw() {
  background(0); 
  if (toggleValue) {
    fill(255, 0, 0);
  } else {
    fill(0, 255, 0);
  }
  ellipse(190, 110, 50, 50);

  if (toggle) {
    fill(255, 255, 0);
  } else {
    fill(0, 0, 255);
  }
  ellipse(190, 260, 50, 50);
}