This commit is contained in:
tth 2022-02-15 13:32:07 +01:00
parent 0b94fae700
commit 8ac3e43c6b
1 changed files with 15 additions and 1 deletions

View File

@ -1,10 +1,24 @@
#!/bin/bash
#
# build the prog
#
make julia
if [ $? -ne 0 ] ; then
echo
echo "Make error " $?
exit 1
fi
#
# run the prog
#
for foo in $(seq 0 39)
do
img=$(printf "frames/%05d.pgm" $foo)
bar=$(echo "$foo / 147.0" | bc -l)
bar=$(echo "$foo / 247.0" | bc -l)
cx=$(echo "0.4 * c($foo)" | bc -l)
cy=$(echo "0.4 * s($foo*2)" | bc -l)