diff --git a/Fraktalism/mkjuliagif.sh b/Fraktalism/mkjuliagif.sh index 67db28f..86b7731 100755 --- a/Fraktalism/mkjuliagif.sh +++ b/Fraktalism/mkjuliagif.sh @@ -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)