euglena/src/snapshot.java

8 lines
293 B
Java
Raw Normal View History

2016-07-10 00:36:44 -07:00
void snapshot(){
PImage c = get(0, 15, screenWidth-menu.width, screenHeight-15); //Takes the FOV
c.save("Image" + str(millis()) + ".jpg"); //Saves the FOV with Image_____.jpg, where _____ is the number of milliseconds elapsed from the program start
//print(str(millis())+"\n");
}