/*
	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");
    }
  }
}

