Some tools for visualizing Krawtchouk matrices (or MacWilliams matrices).
The manimvideo folder consists of a script written in Python with the Manim Community library (repo here). This code was created for a manim-slides presentation. The macwilliams.py module uses an algorithm referred to as "Gogin's algorithm". Details about that algorithm can be found in this article. consts.toml contains constants. Modify this file to change the order or a module.
The ffmpeg folder consists of scripts I used during the conference talk on PCA2023, where I, in conjunction with Nikita Gogin, presented this paper. These scripts are similar but use SageMath to generate a video. Run makevideo.py to learn how to use it.