Improve 2012/blakely/try.sh
This commit is contained in:
1 parent
ce067a5d85
commit
7f65e208ca
1 file changed
+17
-7
+17
-7
@@ -15,21 +15,31 @@ make CC="$CC" all >/dev/null || exit 1
|
||||
# clear screen after compilation so that only the entry is shown
|
||||
clear
|
||||
|
||||
echo "$ ./blakely "xx*yy*+" 64 > paraboloid.gif" 1>&2
|
||||
read -r -n 1 -p "Press any key to run: ./blakely "xx*yy*+" 64 > paraboloid.gif: "
|
||||
echo 1>&2
|
||||
./blakely "xx*yy*+" 64 > paraboloid.gif
|
||||
echo 1>&2
|
||||
|
||||
echo "$ ./blakely 9 32 > empty.gif 1>&2"
|
||||
read -r -n 1 -p "Press any key to run: ./blakely 9 32 > empty.gif: "
|
||||
echo 1>&2
|
||||
./blakely 9 32 > empty.gif
|
||||
echo 1>&2
|
||||
|
||||
echo "$ ./blakely xy* 32 > saddle.gif" 1>&2
|
||||
read -r -n 1 -p "Press any key to run: ./blakely xy* 32 > saddle.gif: "
|
||||
echo 1>&2
|
||||
./blakely xy* 32 > saddle.gif
|
||||
echo 1>&2
|
||||
|
||||
echo "$ ./blakely xx*yy*1++d5*ct/ 64 > ripple.gif" 1>&2
|
||||
read -r -n 1 -p "Press any key to run: ./blakely xx*yy*1++d5*ct/ 64 > ripple.gif: "
|
||||
echo 1>&2
|
||||
./blakely xx*yy*1++d5*ct/ 64 > ripple.gif
|
||||
echo 1>&2
|
||||
|
||||
echo "This might take a bit of time:" 1>&2
|
||||
echo "$ time ./blakely 0 250 > flat.gif" 1>&2
|
||||
read -r -n 1 -p "Press any key to run: time ./blakely 0 250 > flat.gif: "
|
||||
echo 1>&2
|
||||
echo "This might take a bit of time, please be patient." 1>&2
|
||||
time ./blakely 0 250 > flat.gif
|
||||
echo 1>&2
|
||||
|
||||
echo "Now open paraboloid.gif, empty.gif, saddle.gif, ripple.gif and flat.gif in a" 1>&2
|
||||
echo "viewer that shows animated GIFs." 1>&2
|
||||
echo "graphics viewer that ANIMATES ANIMATED GIFs." 1>&2
|
||||
Reference in new issue
Block a user