mergebloubs boilerplate done
This commit is contained in:
@@ -7,14 +7,15 @@
|
||||
|
||||
INCFILE="bloubs.inc"
|
||||
TMPPNG="/dev/shm/bloubs7.png"
|
||||
POVOPT="+Q9 +a -v -d -W920 -H600 -WT2"
|
||||
POVOPT="+Q5 -a -v -d -W920 -H600 -WT2"
|
||||
DDIR="frames"
|
||||
LOGERR="log.error"
|
||||
|
||||
# --- put the work file in ramdisk
|
||||
BLBS_IN="/dev/shm/in.blbs"
|
||||
BLBS_OUT="/dev/shm/out.blbs"
|
||||
|
||||
NBIMG=4000
|
||||
NBIMG=600
|
||||
|
||||
make all
|
||||
err=$?
|
||||
@@ -27,9 +28,9 @@ 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
|
||||
# --> this function need to be parametrizable
|
||||
#
|
||||
./genbloubs ${BLBS_IN} 5000
|
||||
./genbloubs ${BLBS_IN} 100
|
||||
|
||||
for idx in $(seq 0 $NBIMG)
|
||||
do
|
||||
@@ -53,7 +54,7 @@ do
|
||||
convert ${TMPPNG} \
|
||||
-font Courier-Bold \
|
||||
-pointsize 22 \
|
||||
-fill CadetBlue \
|
||||
-fill Orange \
|
||||
-gravity south-east \
|
||||
-annotate +15+10 "$td" \
|
||||
-gravity south-west \
|
||||
@@ -66,6 +67,8 @@ do
|
||||
mv ${BLBS_OUT} ${BLBS_IN}
|
||||
echo
|
||||
|
||||
sleep 33
|
||||
|
||||
done
|
||||
|
||||
rm $LOGERR
|
||||
@@ -73,6 +76,6 @@ rm $LOGERR
|
||||
# XXX convert -delay 10 -resize 50% -colors 192 \
|
||||
# XXX $DDIR/????[0]*.png foo.gif
|
||||
|
||||
./encode.sh
|
||||
nice ./encode.sh
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user