Compare commits

..

No commits in common. "88c6a31f03566f28932b1d88190aee73af54336d" and "bad6af13f6d51350e67c71c385109f280767ad44" have entirely different histories.

1 changed files with 4 additions and 18 deletions

View File

@ -11,9 +11,6 @@ MAXPARTICLES=500
MINDOTSIZE=0.8
LINE=0.8
FILL=true
MODE="stipple"
IMAGES=""
#files in dir
for png in "${INPUT}/"*.png ; do
@ -23,11 +20,6 @@ for png in "${INPUT}/"*.png ; do
tmp=`mktemp`.png
bash white.sh "${png}" "${tmp}"
cd ~/src/stipple_gen/
if [ "${IMAGES}" == "" ]; then
part=`echo "${name}" | awk -F'_0' '{print $1}'`
IMAGES="${OUTPUT}/${part}_%06d_rendered.png"
VIDEO="${OUTPUT}/${part}.mov"
fi
bash stipple_gen.sh \
--inputImage "${tmp}" \
--outputImage "${OUTPUT}/${name}_rendered.png" \
@ -41,17 +33,11 @@ for png in "${INPUT}/"*.png ; do
--minDotSize $MINDOTSIZE \
--line $LINE \
--fill $FILL \
--maxParticles $MAXPARTICLES \
--mode $MODE
--maxParticles $MAXPARTICLES
rm "${tmp}"
cd ~/src/animation/
if [ "${MODE}" != "tsp" ]; then
opt=`mktemp`.svg
svgsort "${OUTPUT}/${name}.svg" "${opt}"
mv "${opt}" "${OUTPUT}/${name}.svg"
fi
opt=`mktemp`.svg
svgsort "${OUTPUT}/${name}.svg" "${opt}"
mv "${opt}" "${OUTPUT}/${name}.svg"
done
ffmpeg -r 12 -f image2 -i "${IMAGES}" \
-c:v prores_ks -profile:v 3 \
"${VIDEO}"