|
Warning: this is an htmlized version!
The original is here, and the conversion rules are here. |
#!/bin/bash
# This file:
# http://anggtwu.net/myqdraw/mkanim2.sh.html
# http://anggtwu.net/myqdraw/mkanim2.sh
# (find-angg "myqdraw/mkanim2.sh")
# Author: Eduardo Ochs <eduardoochs@gmail.com>
#
# Uses: (find-myqdraw "mkanim1.sh")
# with: (find-es "bash" "BASH_SOURCE")
# See: (find-es "maxima" "taylor-3-anim")
# Experimental!!!
#
# «.load-mkanim1» (to "load-mkanim1")
# «.abc» (to "abc")
# «.abc-tests» (to "abc-tests")
# «.eval» (to "eval")
# «.eval-tests» (to "eval-tests")
# «load-mkanim1» (to ".load-mkanim1")
. $(dirname $BASH_SOURCE)/mkanim1.sh
# «abc» (to ".abc")
abcflipbook () { echo ${ABC}.pdf; }
abcframes () { echo ${ABC}_*.pdf; }
abcgif () { echo ${ABC}$1.gif; }
abcmakeboth_ () { echo makeboth $(abcgif $1) $(abcflipbook) $(abcframes); }
abcfile_ () { echo file $(abcgif $1); }
abcls_ () { echo ls -lAF $(abcgif $1); }
abcmake_ () { echo "$(abcmakeboth_ $1; abcfile_ $1; abcls_ $1)"; }
abcmake_ () { abcmakeboth_ $1; abcfile_ $1; abcls_ $1; }
abcmake () { eval "$(abcmake_ $1)"; echo; abclinks $1; }
abclinks () {
echo "# (find-pdf-page \"${ABC}.pdf\")"
echo "# file://${ABC}${1}.gif"
echo "# (brg \"${ABC}${1}.gif\")"
}
# «abc-tests» (to ".abc-tests")
# (find-myqdraw "topdf1.mac" "quick-demo")
: <<'%%%%%'
* (eepitch-bash)
* (eepitch-kill)
* (eepitch-bash)
. ~/myqdraw/mkanim2.sh
ABC=/tmp/frame
abcmake
DENSITY=100 DELAY=8 abcmake _small
%%%%%
# «eval» (to ".eval")
eval "$*"
# «eval-tests» (to ".eval-tests")
: <<'%%%%%'
* (eepitch-sh)
* (eepitch-kill)
* (eepitch-sh)
. mkanim2.sh
%%%%%
# Local Variables:
# coding: utf-8-unix
# End: