I recently got my hands on an Arduino and a TouchShield Slide.  So, for a little bit of entertainment, I started off by writing a simple program.

#include
 
int max_red = 0;
int max_green = 0;
int max_blue = 0;
 
void setup()
{
background(0);
stroke(255);
SETBIT(DDRD, PD4);
SETBIT(DDRD, PD5);
SETBIT(DDRD, PD6);
max_red = random(255);
max_green = random(255);
max_blue = random(255);
text(".Restriction",0,0);
text("Colton Provias",0,20);
text("Left to right to restrict", 0,40);
text("Right to left to free", 0, 60);
delay(5000);
}
 
bool redOn = false;
bool greenOn = false;
bool blueOn = false;
 
void toggleRed()
{
 if (!redOn)
 {
 redOn = true;
 CLRBIT(PORTD, PD4);
 }
 else
 {
 redOn=false;
 SETBIT(PORTD, PD4);
 }
}
 
void toggleGreen()
{
 if (!greenOn)
 {
 greenOn = true;
 CLRBIT(PORTD, PD5);
 }
 else
 {
 greenOn=false;
 SETBIT(PORTD, PD5);
 }
}
 
void toggleBlue()
{
 if (!blueOn)
 {
 blueOn = true;
 CLRBIT(PORTD, PD6);
 }
 else
 {
 blueOn=false;
 SETBIT(PORTD, PD6);
 }
}
 
long min_x=0;
long min_y=0;
long max_x=340;
long max_y=240;
 
void loop()
{
 
stroke(random(max_red),random(max_green),random(max_blue));
point(random(min_x, max_x), random(min_y, max_y));
int ran = random(100);
if (ran == 1) toggleRed();
if (ran == 2) toggleGreen();
if (ran == 3) toggleBlue();
if (gettouch()) {
 min_x = mouseX;
 min_y = mouseY;
 stroke(255);
 while(gettouch()){
 //point(mouseX,mouseY);
 }
 max_x = mouseX;
 max_y = mouseY;
 if (max_x