From daa599f9027dce7f31cd6cc3aa74fc8a2fe83b91 Mon Sep 17 00:00:00 2001 From: Feuerfuchs Date: Thu, 3 Oct 2019 09:56:27 +0200 Subject: New: rightsnuggle*, leftsnuggle*, centersnuggle*, cheer, darkghost*, ghost*, rage, ragelarge* --- dundundun.sh | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'dundundun.sh') diff --git a/dundundun.sh b/dundundun.sh index e3e93e5..7a63ea4 100755 --- a/dundundun.sh +++ b/dundundun.sh @@ -13,21 +13,28 @@ mkdir -p export_tmp rm -f export_tmp/* -inkscape -z -e "export_tmp/1.png" `printf "%s1.png" $SOURCEBASE` -inkscape -z -e "export_tmp/2.png" `printf "%s2.png" $SOURCEBASE` -inkscape -z -e "export_tmp/3.png" `printf "%s3.png" $SOURCEBASE` -inkscape -z -e "export_tmp/4.png" `printf "%s4.png" $SOURCEBASE` +inkscape -z -e "export_tmp/1.png" `printf "%s1.svg" $SOURCEBASE` +inkscape -z -e "export_tmp/2.png" `printf "%s2.svg" $SOURCEBASE` +inkscape -z -e "export_tmp/3.png" `printf "%s3.svg" $SOURCEBASE` +inkscape -z -e "export_tmp/4.png" `printf "%s4.svg" $SOURCEBASE` counter=5 +NUMPROCS=8 +NUMJOBS="\j" while [ $counter -le 79 ] do + while (( ${NUMJOBS@P} >= NUMPROCS )); do + wait -n + done offset=${shakeOffsets[counter-5]} file=`printf "export_tmp/%s.png" $counter` - source=`printf "%s4.png" $SOURCEBASE` - inkscape -z -e $file -a $offset $source + source=`printf "%s4.svg" $SOURCEBASE` + inkscape -z -e $file -a $offset $source & ((counter++)) done +wait -n + declare -a args args+=(export_tmp/1.png 50:50) -- cgit v1.3.1