markov chain animation