Roger Antonsen

Associate Professor
University of Oslo, Norway / University of California, Berkeley
Oslo, Norway / Oakland, California

I am deeply fascinated with how code can be used to visualize, and make tangible, mathematical concepts, and especially with how complexity and beauty can arise from very simple assumptions. I find the process of experimenting with mathematical structures through computer code thoroughly rewarding and exciting.

The inspiration for these visualizations came from attending a talk by Persi Diaconis in 2017. I wanted to know if I could better understand the mathematics of card shuffling by aesthetically exploring the various permutations underlying the shuffling methods. My motivation was to make these invisible structures visible and create elegant and interesting art in the process.

Eight Ways to Shuffle Sixty-Four Cards
Eight Ways to Shuffle Sixty-Four Cards
60 x 90 cm
Digital Print

These are visualizations of eight different ways of shuffling sixty-four cards. The horizontal lines of dots represent the particular orders of the cards throughout each shuffle, and the vertical curves represent the paths the cards take from start to finish. The cards are restored to the original order in all the eight cases. From left to right, top to bottom, the shuffles are: (1) Six perfect out-shuffles with two piles. (2) Three perfect in-shuffles with sixteen piles. (3) Four sixteen-card cuts from the top. (4) Seven milk shuffles. (5) Four “count-out-and-transfer” shuffles. (6) Twelve perfect in-shuffles with two piles. (7) Six alternating in- and out-shuffles with sixteen piles. (8) Twelve “deal-one-and-skip-one” shuffles.