We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hey guys, Just wanted to see if there is a similar functionality in processing where processing will wait until an entire frame is "cooked" until moving onto the next frame.....without trying to maintain real time playback. Basically the functionality of the realtime button in TD
Trying to write out frames with out the skletch running in realtime, however having the same result. Cheers oin advance
Answers
https://Processing.org/reference/redraw_.html
Thanks GoToLoop. If the sketch is running approx 30fps when set frameRate(60)...
Then if I want a stable 25fps output(saveFrame) would I use
noLoop() and then millis to call redraw() (millis() > 40) ? Also What function would I put this under though as it can't exist in the draw()
Or you can just put your time trigger in draw. I also agree, the movie event would be a great place for you. However, I don't know how accurate would it be when it comes to get it down to 25fps consistently. It shouldn't be hard to test.
Kf
Hi kfajer....just wondering what you ment by "time trigger in draw"?Cheers mate
@Sugarbank Something like this
if (millis() - startTime > DISPLAY_DURATION)
in the following post: https://forum.processing.org/two/discussion/8084/how-do-i-display-a-message-for-a-few-secondsThis post gives a better idea: https://forum.processing.org/two/discussion/19731/error-waited-5000ms#latest
Kf