On this page, we provide some information on how to use Animal. Due to the way this web page is organized, the individual components may be somewhat hard to locate - therefore, they are gathered on this page.
Please download the JAR file - do not click on it, as this will cause some browsers to try to run the software, or display the file contents - neither of which is correct. Simply go to the context menu (typically by pressing the right mouse button over the JAR link), and choose the "save as" option.
Please unzip this file somewhere on your hard disk - a special directory called "anims" or something similar is a good idea, as the files contain about 50 animations each.
If your computer has at least 1GB of RAM, you can speed up the program by allowing Java to take more RAM as follows: java -Xms256m -Xmx768m -jar Animal-x.y.z.jar. This example will allow Java to allocate 256 MB RAM initially and use up to 768 MB. You should experiment with these values, as the "best option" depends on how much RAM you have and on how many programs you are running at the same time.
The buttons at the bottom allow you to control the animation by stepping through it at your own speed. The buttons in the "Navigation" area take you to the start or end of the animation, pause it, go one step backward, or play the current step. The "kiosk mode" buttons allow you to see a "smooth movie" of the complete animation, either in forward or backwards direction. Please click on "pause" to interrupt this movie. The text field allows you to directly jump to a given step by entering its number, and the slider to the right indicates the progress and can also be dragged for a "fast forward / fast rewind".
Finally, at the top of the window you can control the speed and magnification.
To create a new animation manually using the GUI or the built-in AnimalScript language, please consult the associated documentation available on the documentation page.
Animal also comes with a large set of prepared "animation content generators". Please select "Generate..." in the "File" menu to start the interface, select an output language (e.g., en for English, de for German), a programming language (e.g., Java), an algorithm type (e.g., Sorting), and then the concrete algorithm (e.g., BubbleSort). You will then see all generators available for your choice. By selecting one and clicking on Confirm, you will be taken to a dialog where you can enter the input values for the algorithm and may also be able to make some color selections. After pressing the confirm button, you can save the animation file or press "confirm" again to directly run the generated content inside Animal.