/ Published in: Processing
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
void mouseReleased() { saveFrame(gimme_name("myProject_")); }; { name+="."; if(month()<10) name+="0"; name+="."; if(day()<10) name+="0"; name+="_"; if(hour()<10) name+="0"; name+="."; if(minute()<10) name+="0"; name+="."; if(second()<10) name+="0"; name+=".png"; return name; }