1
0
Fork 0
trans.fail_xenotopic.network/pde/jitakami/autoSnap.pde

27 lines
770 B
Plaintext
Raw Normal View History

2023-05-02 19:27:54 +02:00
/*
This file is part of "Interface Fractures IV - Q".
Copyright (c) 2016 Luka Prinčič, All rights reserved.
This program is free software distributed under
GNU General Public Licence. See COPYING for more info.
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
autoSnap.pde
*/
void autoSnap(boolean render) { // -------------------------------------
if (render) {
// auto-save snapshots
if (frameCount == 1000) {
saveFrame("../../dev/snapshots/"
+ year() + nf(month(),2)
+ nf(day(),2)
+ nf(hour(),2)
+ nf(minute(),2)
+ nf(second(),2)
+ "_.png");
}
}
}