Optimize svg file after creating it using stipple_gen. Todo: render generated png files into a preview video

This commit is contained in:
Matt McWilliams 2021-08-10 19:36:54 -04:00
parent 7ef75b47ba
commit 711ad36b02
1 changed files with 5 additions and 1 deletions

View File

@ -36,4 +36,8 @@ for png in "${INPUT}/"*.png ; do
--maxParticles $MAXPARTICLES --maxParticles $MAXPARTICLES
rm "${tmp}" rm "${tmp}"
cd ~/src/animation/ cd ~/src/animation/
done opt=`mktemp`.svg
svgsort "${OUTPUT}/${name}.svg" "${opt}"
mv "${opt}" "${OUTPUT}/${name}.svg"
done