CS 3158 -- Design and Analysis of Algorithms

Fall 1998


Animation Assignment 1: Flying Logos


Due October 9

In this assignment, you will learn how to use the Samba system to create animations of algorithms. Actually, in this assignment, you won't be creating an animation of an algorithm per se. You simply are to create some "fancy" animation with your name (as a text string) and some other multi-colored geometric shapes flying around the animation window(s). Be creative and experiment with the different commands of the Samba system. The purpose of this assignment is to familiarize yourself with these commands. Also, try some different X Windows colors and fonts to familiarize yourself with them as well.

For practice, don't just write the animation text commands by hand. Create a small program with loops and simple calculations. Then, embed print statements in that program that will produce the ascii animator commands.

This assignment is worth one point of the total animation part of your grade for the quarter.