Add invert option to stipple
This commit is contained in:
parent
d6a3c4ac00
commit
a08078fee0
10
stipple.sh
10
stipple.sh
|
@ -2,6 +2,13 @@
|
|||
|
||||
INPUT=`realpath "${1}"`
|
||||
OUTPUT=`realpath "${2}"`
|
||||
INVERT="${3}"
|
||||
|
||||
if [[ "${INVERT}" == "" ]]; then
|
||||
INVERT="false"
|
||||
else
|
||||
INVERT="true"
|
||||
fi
|
||||
|
||||
WIDTH=404
|
||||
HEIGHT=374
|
||||
|
@ -42,7 +49,8 @@ for png in "${INPUT}/"*.png ; do
|
|||
--line $LINE \
|
||||
--fill $FILL \
|
||||
--maxParticles $MAXPARTICLES \
|
||||
--mode $MODE
|
||||
--mode $MODE \
|
||||
--invert $INVERT
|
||||
rm "${tmp}"
|
||||
cd ~/src/animation/
|
||||
if [ "${MODE}" != "tsp" ]; then
|
||||
|
|
Loading…
Reference in New Issue