Hi all,
I can run the example of Savage Hutter Avalanche of grains 2D now, thanks the help of Pierre-Yves Lagrée. I compiled the bosse_aval_gray.c file successfully.
I want output the gif file following the commands, when I run the command:
gifsicle --colors 256 --optimize --delay 1 --loopcount=0 bosse.gif > bosse_aval_gray.gif
The bash prompt that:
gifsicle: warning: trivial adaptive palette (only 1 colors in source)
I have run all the commands one by one, i.e.
./bosse_aval_gray > v.out
echo "set term gif animate; set output 'bosse.gif'" > dmp
cat v.out >> dmp
mv dmp v.out
cat v.out | gnuplot
gifsicle --colors 256 --optimize --delay 1 --loopcount=0 bosse.gif > bosse_aval_gray.gif
rm bosse.gif
rm v.out
But the outputted
bosse_aval_gray.gif file is blank when I double clicked it.
What is wrong? I think it maybe the command which got warnning, i.e.
gifsicle --colors 256 --optimize --delay 1 --loopcount=0 bosse.gif > bosse_aval_gray.gif
How to correct it? Any suggestion will be appreciated!
Best regards
Cheng