Card Deck Shuffle: Fisher–Yates vs. Riffle vs. Overhand (2D)

This 2D companion replaces the 3D version's looping animation with the actual combinatorics behind shuffling: pick a real algorithm (uniform Fisher–Yates, a Gilbert–Shannon–Reeds riffle model, or a biased overhand shuffle), apply one or many passes, and watch two standard permutation statistics — inversions and ascending-run count — climb toward (or, for overhand, fail to reach) the values expected of a truly random 52-card arrangement.