Rate limiting animations with Manim.
Be aware that there are some system dependencies. See Manim doc for more details. Python environment is managed by conda here.
Create the environment from the environment.yml
file:
conda env create -f environment.yml
Export/save environment:
conda env export | grep -v "^prefix: " > environment.yml
Render videos:
manim -pql rate_limit_scenes.py FixWindowScene
manim -pql rate_limit_scenes.py SlidingLogScene
manim -pql rate_limit_scenes.py TokenBucketScene
manim -pql rate_limit_scenes.py TokenBucketSceneProlonged
Add --format=gif
to export gif format, i.e.:
manim -pql rate_limit_scenes.py FixWindowScene --format=gif