Change Contents of the Bubble
Welcome to CS1315. Click on the python to add comments.

Looking for the book? They have it at the Engineer's Bookstore at 748 Marietta St NW. Here is there website: http://www.engrbookstore.com/ - Monica

Hotspots: Slides and CodeTA CornerComments?AnnouncementsFAQStatic Webspace
View this PageEdit this Page (locked)Uploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

Spring 2006 Homework 3


Due: Monday the 27th at 7PM

Basic requirements

You are going to make an animation that is at least 50 frames long. Write a function called animation that takes in a directory as a string. When run, this function will create at least 50 frames of your animation (as JPEG files) in the directory you passed in. These frames should be named something like frame001.jpg, frame002.jpg, frame003.jpg, etc. Each frame will be the same size and no more than 500 pixels wide and 300 pixels high. You should save this in a file named hw3.py. You are also required to use more than one function.

Something Walking

During this animation, you must have a walking animation of some sort. You will accomplish this by using sequence of predrawn images of a walking figure. Here are a few examples that you can use, but you are encouraged to find/make/photograph your own.

Collision/Interaction

Your animation must also interact with another image that you will create using one of the many drawing functions within JES. These include
For example, your walking character could run into a wall you create with a rectangle and say "ouch" using the addText function. Alternatively, your character could kick around a ball created with the addOval function. Be creative.

In addition to walking...

In addition to walking, your character must also do something else for part of the animation. For example, you could make John Cleese walk to the center of the background during the first 40 frames, and then he could stop and say "And now for something completely different" for the last 10 frames.

The images you use

Please turn in all the images that you use in your animation to webwork along with your code. If you do not turn in your images, then your homework becomes very difficult to grade. Inside your code, use getMediaPath to access your images. When your TA grades your homework, they will put all your images into a random folder and set the media path to that folder and expect your code to run smoothly.

Summary/Checkoff list
You will be graded on the following:


Hints


Above and Beyond

Questions?

Link to this Page