subroutine green_soylent in actio

This commit is contained in:
tth
2022-02-08 18:56:51 +01:00
parent 6094e29efd
commit c35c00e3da
9 changed files with 88 additions and 53 deletions

View File

@@ -11,6 +11,8 @@ POVOPT="+Q9 +a -v -d -W920 -H600"
DDIR="frames"
LOGERR="log.error"
NBIMG=3000
make all
err=$?
if [ $err -ne 0 ] ; then
@@ -18,13 +20,15 @@ if [ $err -ne 0 ] ; then
exit 1
fi
printf "\n#declare NbImg = %d;\n" $NBIMG > nbimg.inc
#
# first, we have to make a seminal buch of bloubs
# --> this function need to be paraletrizable
#
./genbloubs in.blbs 100000
./genbloubs in.blbs 6000
for idx in $(seq 0 800)
for idx in $(seq 0 $NBIMG)
do
echo "======== run passe $idx ========="
@@ -40,14 +44,14 @@ do
fi
td=$(date +'%F %R:%S')
txt=$(printf "%9d %5d %s" $$ $idx "${td}")
txt=$(printf "%5d %s" $idx "${td}")
PNG=$(printf "%s/%05d.png" ${DDIR} $idx)
echo "$txt"
echo "$txt" | tee -a log.txt
convert ${TMPPNG} \
-font fixed \
-pointsize 20 \
-fill orange \
-fill Yellow \
-gravity south-east \
-annotate +15+10 "$txt" \
$PNG