Skip to content

Instantly share code, notes, and snippets.

@sansumbrella
Created August 12, 2009 19:14
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 sansumbrella/166684 to your computer and use it in GitHub Desktop.
Save sansumbrella/166684 to your computer and use it in GitHub Desktop.
Processing saveFrame function.
//this is part of why processing is awesome
void keyPressed()
{
if( key == 's')
{
saveFrame("frames/Generic-####.png");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment