better ?
This commit is contained in:
parent
0b94fae700
commit
8ac3e43c6b
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user