Skip to content

icpc/reactions-generator

Repository files navigation

reactions-generator

How to run

Install cairo (for svg conversion):

sudo apt-get install libcairo2-dev
poetry install
poetry run main --help

Dev setup

This project is built using poetry. We also use ruff for formatting and linting, as well as pyright for type inference.

Previous rendering approaches

  1. Arange reaction via Pillow.
    • Saving frames as images (super slow).
    • Pyav/imageio-pyav - significantly slower.
    • Read and write using moviepy - the fastest option.
  2. Compose reaction via moviepy - significantly slower than via Pillow.
  3. Compose reaction using ffmpeg - the fastest option by far, current approach.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 3

  •  
  •  
  •