Skip to content

Instantly share code, notes, and snippets.

@jnslxndr
Created December 14, 2010 12:36
Show Gist options
  • Save jnslxndr/740356 to your computer and use it in GitHub Desktop.
Save jnslxndr/740356 to your computer and use it in GitHub Desktop.
Simple Sketch Base for Processing
/**********************************************
* Simple Sketch Base for interactive Projects
* done in Processing http://processing.org
*********************************************/
/**
* Declare your variables here:
*/
int var; // For example
/**
* This is the setup routine called once at startup
*/
void setup()
{
// setup-code goes here
}
/**
* This is the draw routine called repeatetly
*/
void draw()
{
// draw-code goes here
}
/**
* These are other "magic" functions to fill out, if you need to
*/
void mouseMoved()
{
}
void mouseDragged()
{
}
void mousePressed()
{
}
void mouseReleased()
{
}
void mouseClicked()
{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment