Start on lab 4
- Create a new directory for this lab in your cs101 directory by entering the following at the Linux prompt:
cd
cd cs101
mkdir lab4
cd lab4
- One of the seminal papers in computer graphics is John Lasseter's The Principles of Traditional Animation Applied to Computer Animation, [John Lasseter. 1987. Principles of traditional animation applied to 3D computer animation. In Proceedings of the 14th annual conference on Computer graphics and interactive techniques (SIGGRAPH '87), Maureen C. Stone (Ed.). ACM, New York, NY, USA, 35-44. DOI: https://doi.org/10.1145/37401.37407.] Please read about about squash and stretch—section 2.1, beginning on page 36. Lasseter characterizes squash and stretch as the most important principle of animation.
- Using modulo. Modulo is sometimes called the remainder operator, and that is a good description if and only if the operands are both positive. It is not accurate if the operands are negative. In fact, there is another operator, accurately called
remainder
which should be used. (In c, c++ and java the modulo operator is really the remainder operator.) - Create a short animation utilizing squash and stretch or any of the other principles with Dr. Racket, modulo and big-bang.
- Name your file
my-name-lab4.rkt
- Cycle between at least 3 different images for your animation. You may download images, use gimp to create your own images, or create them using Dr. Racket. You can see my animation below.
- When your program successfully runs and you are happy with it (or it is the end of class), please show your code to your instructor or one of the lab coaches. Save it!
- You may have until next week's lab period to finish it.
Submitting your work
- Submit this lab via Moodle.
Log out
When you are done, close DrRacket by choosing Quit
from the File menu, and then locate the logout option on the menu bar (lower right corner). Choose “Logout…” and follow any remaining prompts. Always remember to log out when you are done using the system, to ensure that no one else uses your account.