ready for another run ?
This commit is contained in:
@@ -5,9 +5,9 @@
|
||||
#
|
||||
|
||||
|
||||
INCFILE="bloubs.inc"
|
||||
INCFILE="WS/bloubs.inc"
|
||||
TMPPNG="/dev/shm/bloubs7.png"
|
||||
POVOPT="+Q9 +a -v -d -W960 -H640 -WT2"
|
||||
POVOPT="+Q9 +a -v -d -W1024 -H768 -WT2"
|
||||
DDIR="frames"
|
||||
LOGERR="log.error"
|
||||
|
||||
@@ -15,7 +15,7 @@ LOGERR="log.error"
|
||||
BLBS_IN="/dev/shm/in.blbs"
|
||||
BLBS_OUT="/dev/shm/out.blbs"
|
||||
|
||||
NBIMG=1200
|
||||
NBIMG=1800
|
||||
|
||||
make all
|
||||
err=$?
|
||||
@@ -24,13 +24,13 @@ if [ $err -ne 0 ] ; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
printf "\n#declare NbImg = %d;\n" $NBIMG > nbimg.inc
|
||||
printf "\n#declare NbImg = %d;\n" $NBIMG > WS/nbimg.inc
|
||||
|
||||
#
|
||||
# first, we have to make a seminal buch of bloubs
|
||||
# --> this function need to be parametrizable
|
||||
#
|
||||
./genbloubs ${BLBS_IN} 100
|
||||
./genbloubs ${BLBS_IN} 15
|
||||
|
||||
for idx in $(seq 0 $NBIMG)
|
||||
do
|
||||
@@ -49,16 +49,22 @@ do
|
||||
|
||||
td=$(date +'%F %R:%S')
|
||||
hi=$(printf "#%05d" $idx)
|
||||
count=$(head -1 "WS/log.nb_bloubs")
|
||||
|
||||
PNG=$(printf "%s/%05d.png" ${DDIR} $idx)
|
||||
|
||||
convert ${TMPPNG} \
|
||||
-font Courier-Bold \
|
||||
-pointsize 22 \
|
||||
-pointsize 16 \
|
||||
-fill Orange \
|
||||
-gravity south-east \
|
||||
-annotate +15+10 "$td" \
|
||||
-gravity south-west \
|
||||
-annotate +15+10 "$hi" \
|
||||
-fill Yellow \
|
||||
-pointsize 32 \
|
||||
-gravity north-east \
|
||||
-annotate +15+10 "$count" \
|
||||
$PNG
|
||||
|
||||
echo $PNG '[done]'
|
||||
@@ -67,7 +73,7 @@ do
|
||||
mv ${BLBS_OUT} ${BLBS_IN}
|
||||
echo
|
||||
|
||||
sleep 9
|
||||
sleep 15
|
||||
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user