TAbby/justfile
2025-01-15 15:44:34 +01:00

13 lines
368 B
Makefile

play: compile
mpv video.webm
compile: clear-outdir
typst compile -f png --ppi 164.2 hell.typ 'out/{p}.png'
ffmpeg -framerate 60 -start_number 1 -i out/%d.png video.webm
gif: clear-outdir
typst compile -f png --ppi 54.73333 hell.typ 'out/{p}.png'
ffmpeg -framerate 50 -start_number 1 -i out/%d.png video.gif
clear-outdir:
rm -f out/*.png