Presentation on theme: "Introduction to Alice Alice is named in honor of"— Presentation transcript:
1Introduction to Alice Alice is named in honor of Note to Instructor: Slides may be used either in a traditional lecture format or with an Active Learning approach. If you are using an active learning approach, suggestions will appear in this "Notes" area on appropriate slides.Alice is named in honor ofLewis Carroll’s Alice in Wonderland
2Alice A modern programming tool Animation Use the software from the CD 3-D graphics3-D models of objectsAnimationObjects can be made to move around the virtual world (a video game or simulation implemented in 3-D)Use the software from the CDCan download latest version from the web
3Kinds of Animations Two kinds of animations: Movie Interactive Passive user watches the animationInteractiveActive user clicks on mouse, types a key on keyboard …Actions of user are called events
4What is a program?A set of instructions that tell the computer what to doIn some programming languages, program statements can look quite complicated:
5What is an ELEGANT program The set of instructions are efficient and easy for the computer program to understand and they are efficient and easy for HUMANS to understand
6FLOWCHARTS?Flowcharts are used to show the programming steps in picture form, the same way that storyboard sketches show the scenes in a movie
10ALICE Alice is an object-oriented program. We drag and drop objects into our virtual world and we plan ahead how to make these objects interact with each other and with the user of our program.
11Demo: Start with a new world Open Alice as your teacher directs
12Objects An "object" is How is an object unique? any thing that can be identified as unique from other thingsHow is an object unique?has a namehas properties:width, height, color, locationcan perform actions (methods):associated actions it can performtasks it can carry out
143 Dimensions, 6 Directions A 3D object has3 dimensionsheight, width, depth6 degrees of freedom (directions of movement)
15Demo: Saving a world Best solution: Writing and testing an animation is an intense load on the computing system – a crash can occur.Best solution:save your world every 15 minutes locally(Or at least every half hour)also save to a backup system at the end of the class(for example to H drive)Active Learning: Demo how to save a world in your local system. Students save FirstWorld.a2w to their own account/flash key/ or other device.
16AssignmentSee lab1 saved on your teacher’s webpage