Visualizing what happens when you shuffle a deck of cards

Nathan Davis writes, “When you shuffle a deck, it rearranges the order of the cards and I got wondering what that looked like.

I took a deck of physical cards, wrote 1 through 52 on each one, shuffled them, then wrote down that sequence. I wrote up a visualization program to show how it changes and made a short video showing off the patterns.”

Read More