Thank you! This is very helpful. I will look into nsview and looping over the pages.
Posts made by sean
RE: Forcing update with a function? (for previewing animation)
Forcing update with a function? (for previewing animation)
Would it be possible for DrawBot to re-run the script at a specified rate, similar to how Processing uses
frameRate()to determine a target for how many times the sketch should refresh per second.
frameRate(4)could have DrawBot update at a rate of 4 times per second, and the global variable
framecould be a counter that increments each update, so something like
oval( sin(frame) * 100, 100, 100, 100)would draw an animated oval.
This would be very useful for previewing an animation within DrawBot, without having to export to a gif or mov file.