animascii

animascii (Hackage entry) is a textfile-based ASCII animator, rendering this:

Animated ASCII stickman (by JimReed)

from this:

==================



--------------30--

\

---------------5--
e
H\
 \
---------------5--
 e
.H.
- \
---------------5--
  e
  <
 -\
---------------5--
   e
  .H.
   L
---------------5--
    e
   /H\
   / \
---------------5--
     e
     /.
    - \
---------------5--
      e
      I
     -\
---------------5--
       e
      .H\
       ≥
---------------5--
        e
       /H\
       / \
--------------30--
     .~\e
     S  H\
        I>
---------------3--
      ~'I
        H.
        I
---------------2--
        e/
        <
       /L
---------------2--
        e
        <-
       / \
---------------1--
         e
        /H\------*
       /  )
--------------10--
     .~\e
     S  H\
        I>
---------------3--
      ~'I
        H.
        I
---------------2--
        e/
        <
       /L
---------------2--
        e
        <-
       / \
---------------1--
         e
        /H\------*
       /  )
--------------10--
        e
       /H\
       / \
--------------60--


Getting animascii

To get animascii, you have two choices:

animascii depends on imagemagick to function, install it from your software repository (e.g. on Debian type apt-get install imagemagick) or download it from its download page.


Quick-start

You can create any number of files in input-dir; once you save them, they will be displayed on screen and exported as GIFs in output-dir.


Input format

The grammar is not complex, every frame looks like this:

...
 e  /
/H\/
/ \
------5--

Where the 5 in the separator-line indicates the timespan this picture will last (in frames-per-second).

At the top of the animation you will find the header, which can be a plain one, like this:

=========
 e  /
/H\/
/ \
------5--

or one with options, like this:

===L7=Tx=
 e  /
/H\/
/ \
------5--


Configuration

You can modify animascii behaviour by editing its config.ini configuration file.

general section:

directory section:

render section:

gif section:


Repository and contact

If you want to help developing animascii, check the darcs repository.

If you want to report a bug or request a feature, write to me.