An algorithm or a program can be animated by a movie that graphically represents its dynamic execution. A sorting algorithm, for instance, might be animated by a sequence of frames that shows a set of vertical lines of various heights being permuted into order of increasing height. Such animations are useful for developing new programs, for debugging, and for explaining how programs work. This paper describes ANIM, a basic system for algorithm animation. The output is crude, but ANIM is easy to use; a novice user can animate a program in an hour or two. ANIM currently produces movies with the X window system, among others; it also renders movies into 'stills' that can be included in TROFF or TEX documents.
|Original language||English (US)|
|Number of pages||26|
|State||Published - Dec 1991|
All Science Journal Classification (ASJC) codes