Markov and print function on a frame rate clock