Change the 'Color Palette' to 'Rainbow 1' to color each card differently to make it easier to follow each card.Press 'stop' and move the slider to manually watch the animation.The interactive below will allow you to visualize perfect riffle shuffles: There are two possible ways of interleaving the two halves, one (an in-shuffle) where the top and bottom cards wind up inside the deck,Īnd the other (an out-shuffle) where the top and bottom cards wind up in the same location. Perfect RifflesĪ riffle shuffle is performed by taking a deck of cards, dividing the deck in half ('cutting' the deck), and then interleaving the two halves. In the process, you will hopefully be convinced that riffle shuffling is actually a fairly good technique for shuffling cards.
In this series of interactives, we will explore various mathematical topics related to shuffling decks of cards.