The Incredibles,Ratatouille,Up. What do these Pixar films have in common? They are all computer-animated films. While the writers and directors came up with the compelling stories and the kinds of scenes that would best tell the stories, the computer animation experts brought the films to life. In this computer science project, you will easily be able to create your own animated story using a simple computer programming environment called Storytelling Alice. To create your animation, you will simply drag and drop different instructions on the computer screen—while you will learn programming basics, there is no special computer language to learn. Start your storytelling right away, and you'll have a cool computer science project in no time!
Objective
To use Carnegie Mellon's 3-D programming environment, Storytelling Alice, to animate an existing fable or your own made-up story.
Introduction
Cell phones, laptops, texting, iPods, and iPads are all examples of recent technologies that have allowed us to stay connected to each other. It's fun to stay in contact with your friends and family and share details about your day, but did you know that there is a lot of computer science behind all of these devices? Computer science is what makes these devices work individually, and sometimes together. We'll be discussing more about the fun in computer science in a minute, but first, let's get a few key definitions out of the way!
Computer science includes the study of the instructions, or algorithms, that support how information is received, processed, and stored. Information can mean anything from ringtones to texts to e-mails. There are many sub-areas of study in the computer science field, such as computer programming and computer graphics. Computer programming is the science of writing and testing algorithms and computer graphics is the science of using and manipulating algorithms to create visual images. So the computer animators who create movies (a series of moving, animated images) like Up,Ratatouille, and The Incredibles, are computer scientists because they work with algorithms (instructions) that generate moving, visual images.
Computer animation is a really fun example of how to apply computer science. You have the logic and the science of creating the many algorithms required to animate characters, plus the end product of the animation or movie, which you can share with your friends and family. In this computer science project, you will become an animator and use a 3-D programming environment called Storytelling Alice (from Carnegie Mellon University) to make an animation of an existing fable or your own made-up story. While the words 3-D programming environment might sound a little intimidating, it really isn't! If you can use your mouse to drag and drop objects on the computer screen, you can create a computer program to animate characters on the screen. Let your creative juices flow and start animating!
Figure 1. This animation, done in Storytelling Alice, tells the tale of a trouble-making fairy, an ogre, and an unsuspecting human named Trevor. You can run this animation yourself in Storytelling Alice's second tutorial.
Terms, Concepts, and Questions to Start Background Research
Windows-based computer with an Internet connection, as well as permission and room to download the Storytelling Alice program
Adult helper
Note: This engineering project is best described
by the engineering design process, as opposed to
the scientific method. You might want to ask your teacher whether it's acceptable to follow the
engineering design process for your project before you begin. You can learn more about the engineering design process
in the Science Buddies Engineering Design Process Guide.
Science Buddies has compiled some suggestions for harder to find items in our Amazon store. The store does not include
every item for every project, but it does include items that we feel work for the projects on our website. If you
have comments or would like us to add items to the store, please contact us at
scibuddy@sciencebuddies.org.
Experimental Procedure
Creating Your Animation in Storytelling Alice
The first step is to download Storytelling Alice and become familiar with it. For step-by-step instructions on how to do this, refer to the Science Buddies page How to Get Started Downloading and Using Storytelling Alice. Go through the tutorials and the examples.
If you want to see an example of a Storytelling Alice animation, you can download the Big Bad Wolf demonstration. Save it to your personal computer, and open the file in Storytelling Alice. Now you're ready to start on your own animation!
Define a need. First, decide who your audience is and what kind of story they would like to see.
Specify the requirements of your story. Your story can be about anything that you want, but to make this a strong engineering project that emphasizes your programming skills, you should follow the suggestions below. For more explanation on some of these constructs (like "Method," "Do Together," and "Loop"), refer back to the Science Buddies page How to Get Started Downloading and Using Storytelling Alice.
The story needs to make sense and should be at least 2 minutes long.
You must switch scenes at least twice. If you need help learning how to switch scenes, refer to the multiple scenes example in Storytelling Alice.
You must make a new method for each character in your story. For example, you could get each character to do a dance, like the cha-cha when they are happy. If you need help learning how to make a method, refer to tutorial #2 (with Trevor and the Ogre).
The objects in your story should interact with each other, like in reality. You can accomplish this using a Do Together construct. Have your character or scenery objects interact at least once in each scene.
In each scene, you should use the loop construct to have one or more characters or scenery objects perform a task repeatedly.
Create and analyze designs. Keeping the above list of requirements in mind make a rough sketch, flow chart, or plan of what your animation will look like and what the characters will do and say. Look at different ways of changing scenes and select the best way.
Build a starter or test program. Start your program with a small step. Choose an object from the galleries and have it execute a method or a set of methods. Is Storytelling Alice performing properly? Are you happy with the way the program executed? If everything looks good, then continue programming. If not, then fix any problems now. If you need help troubleshooting, read the next section about troubleshooting.
Program your animation.
It is a good idea to test your project as you create it. Simply run the program each time you have something new occur.
If you decide you don't like the story flow or how the characters look feel free to go back and re-design.
Test and redesign. When you are finished, share your animation with your target audience. How did they like it? Can you use their feedback to improve it?
Troubleshooting Your Animation in Storytelling Alice
What should you do when you get an error while playing your animation?
Don't panic or get frustrated. Learning takes time and there are a lot of Storytelling Alice Help menus available to help you work through the error to get your story just the way you want it.
Is this the first time you have run the animation?
If this is the first time you have run the animation, start by taking out all of the method calls, loops, and other constructs, except for the first one. Write down on a sheet of paper all of the method calls or print it out so that you have a record of what you wrote. Then delete all but the first method call or construct from the editing area. Run Storytelling Alice with just one method call or construct to make sure that it is working properly. Then add the next method call or construct in and run Storytelling Alice to make it is working properly. Continue to do this until you find the problematic line.
Or are you running an animation that was previously working?
If you recently added method calls or constructs to an animation that was working, simply take out the new method calls or constructs and add them back in one at a time, as in step 1.b.
The Final Product
Once you have finished your animation and you are happy with it, it is time to show it to your friends and family!
When presenting your animation work at your science fair, try to bring in a computer. If you are not able to do so, then take many screenshots of your work.
Your science fair presentation should also include:
The requirements list that guided your animation.
A flow chart of how your animation program works, which is a diagram of boxes where each box is a step in the program you wrote.
An explanation of what you learned from your research and from doing the animation.
For more information about presenting your Storytelling Alice animation for a science fair, consult the
Engineering Design Project Guide.
Variations
Learn more about conditional statements, such as the "If/Else" construct. This construct will execute a method or a set of methods based on whether a condition is true. If the condition is false, then a different method, set of methods, or nothing will execute. Experiment with the If/Else construct and use it within your animation.
Have the viewer interact with your animation by creating button-click events in the Event area. Remember, you can learn how to use the Event area by reading through the examples in Storytelling Alice.
Make a more complicated animation using Carnegie Mellon University's Alice programming environment. Watch the Alice tour to get an idea of how to get started. You can download Alice from this Carnegie Mellon's website, Alice.
If you like this project, you might enjoy exploring
related careers.
Computer Programmer
Computers are essential tools in the modern world, handling everything from traffic control, car welding, movie animation, shipping, aircraft design, and social networking to book publishing, business management, music mixing, health care, agriculture, and online shopping. Computer programmers are the people who write the instructions that tell computers what to do.
Computer Software Engineer
Are you interested in developing cool video game software for computers? Would you like to learn how to make software run faster and more reliably on different kinds of computers and operating systems? Do you like to apply your computer science skills to solve problems? If so, then you might be interested in the career of a computer software engineer.
Multimedia Artist or Animator
If you've ever watched a cartoon, played a video game, or seen an animated movie, you've seen the work of multimedia artists and animators. People in these careers use computers to create the series of pictures that form the animated images or special effects seen in movies, television programs, and computer games.
Join Science Buddies
Become a Science Buddies member! It's free! As a member you will be the first to receive our new and innovative project ideas, news about upcoming science competitions, science fair tips, and information on other science related initiatives.
Support Science Buddies
If this website has helped you, won't you consider a small gift so we may continue developing resources to help teachers and students?
It's free! As a member you will be the first to receive our new and innovative project ideas, news
about upcoming science competitions, science fair tips, and information on other science related initiatives.