Home Markov Chain

Markov Chain

This Markov Chain was just a simple exercise to see probability at work. Every tick has a 50% chance of moving to the next or previous chain, except when it is either the first or last chain, where it has the same chance of iterating over itself again.

See the Pen Markov Chain by Neal Fennimore (@nealfennimore) on CodePen.

This post is licensed under CC BY 4.0 by the author.