Here are some interactive animations, games, and mathematical toys I wrote in Python. I enjoy the meditation of coding these. The first is an aleatoric take on my first literary love, the dictionary. The second is my homage to Raymond Smullyan’s logical realm of knights and knaves. The third is a whimsical maker of Calder-mobile-like, Bézier-curved “strings of pearls,” inspired by a visualization exercise from Phil Stutz. Next, there are some games and maze-generator programs for the person who enjoys the challenge of an opponent and/or the solitude of self-similar structure becoming like a shelter of texture. Finally, there are a few mathematical rabbit holes for the hearty subterranean adventurer.

A sample visualization from the Phil-Stutz-inspired Pearl and Turd Visualization Tool.
Six square blue maze puzzles arranged on a black background, each one a face of the same cube.
A colorful graphical visualization titled "125 Langford sequence permutations of 1,1,2,2, ... ,79,79" showing a grid of colored squares arranged in a pattern that represents all permutations of the sequence.