Compare commits

..

2 Commits

Author SHA1 Message Date
Matt McWilliams cffc6dedfb Add a stop frame 2021-11-28 22:00:10 -05:00
Matt McWilliams d37efd4619 Update stipple settings 2021-11-28 21:59:21 -05:00
2 changed files with 15 additions and 5 deletions

12
draw.sh
View File

@ -15,7 +15,12 @@ if [[ "${1}" == "" ]]; then
exit 1 exit 1
fi fi
if [ "${2}" == "" ]; then END=-1
if [[ "${3}" != "" ]]; then
END=${3}
fi
if [[ "${2}" == "" ]] && [[ $2 -eq 0 ]]; then
name=`basename "${1}"` name=`basename "${1}"`
bash field.sh "${name}" bash field.sh "${name}"
@ -54,6 +59,11 @@ for svg in "${1}"*.svg ; do
rm -f "${number}" rm -f "${number}"
bash position.sh reset bash position.sh reset
if [[ $END -gt -1 ]] && [[ $END -eq $i ]]; then
echo "Reached final frame $i, exiting..."
exit
fi
askContinue "Continuing with next frame..." askContinue "Continuing with next frame..."
done done

View File

@ -27,11 +27,11 @@ mkdir -p "${OUTPUT}"
FRAMERATE=12 FRAMERATE=12
WIDTH=404 WIDTH=404
HEIGHT=374 HEIGHT=374
DOTSIZE=5 DOTSIZE=6
MAXGENERATIONS=50 MAXGENERATIONS=50
MAXPARTICLES=1000 MAXPARTICLES=900
MINDOTSIZE=0.3 MINDOTSIZE=0.5
LINE=0.3 LINE=0.5
FILL=true FILL=true
MODE="stipple" #stipple/tsp MODE="stipple" #stipple/tsp