subroutine green_soylent in actio
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user