tools/render-timelapse (view raw, download)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
#!/bin/bash
if [[ $# -lt 1 ]]
then
echo "Usage: ./render-timelapse <FILES...>"
echo
echo -e "\tExample: ./render-timelapse ./file1.svg ./file2.svg"
echo -e "\tExample: ./render-timelapse ./files-dir/*.svg"
exit 1
fi
FILES="$@"
for file in $FILES
do
~/doom/tools/wad2svg/wad2svg $file MAP01 > "${file}.svg"
done
# TODO animate svgs
# eg. ~/doom/tools/wad2svg/wad2svg <WAD_PATH> <MAP01>
|