This is a script for an animation to visualize how the Shunting yard algorithm works, as well as how the resulting reverse Polish notation (RPN) is computed.
I had no regard for the maintainability of this script, as I do not intend to return to it. It may be unreadable/unoptimized.
Note: The labels are in Czech.
DefaultTemplate.mp4
Dependencies are managed using the Nix package manager and defined in shell.nix
. Using direnv is recommended.
Useful manim and manim-slides commands are saved in the justfile
.
You are free to use this repository as a Nix manim/manim-slides template.
Run locally:
just run
Render to video:
just render
Export to self-contained HTML:
just render html
Export to PowerPoint:
just render pptx