Riffle Me This

Discover the mathematical beauty hidden in card shuffling algorithms. Watch as simple shuffles create complex patterns and fascinating cycles.

Inspired by "A Problem Squared"

This visualization was created after listening to Matt Parker and Bec Hill discuss card shuffling mathematics in Episode 114 of their brilliant podcast.

View Source Code

🃏 Configuration

🔀 Algorithm

?
🔄 Position Movement