Create a stop motion effect using jit.qt.movie
To create a stop motion effect, calculate the ratio of the movie’s framerate to your desired (stopframe) framerate. Use that value to calculate a metro interval. Then move ahead the desired number of frames with each bang of the metro. In order to avoid any errors caused by using int instead of float, calculate and store the current frame number as a float (outside of the jit.qt.movie object). Finally, send a frame message to jit.qt.movie.