#!/bin/bash
set -e
make essai
for foo in $(seq 0 89)
do
./essai $foo > a.scratch
fname=$(printf "F/%04d.tga" $foo)
echo $fname
genplot2 -s 640x480 a.scratch $fname
done
convert -delay 10 F/????.tga foo.gif