DOC PREVIEW
Duke CPS 004 - Lecture

This preview shows page 1-2-3-4 out of 12 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 12 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 12 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 12 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 12 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 12 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

CompSci 4Alice – Chap 1Jan 27, 2005Prof. Susan RodgerAnnouncements• Assignment 2 due tonight• Classwork from Jan 18 due tonight• Classwork not finished today – must be completed by Tues, Feb 1, by class time• Versions of Alice – new version available! 1/26/05 - Download againToday’s class• Lecture – Finish Chap 1• Classes and Objects in Alice• Finish Appendix A•ExercisesTypes of Animations• In Appendix A – viewed two kinds of animations– Movie• User “watches” animation• “machine-centric”– Interactive• User “participates” – clicks mouse, types a key• “user-centric”Events• Animations that are “interactive” depend on user’s actions– Mouse click– Keypress– Others (HeadMountedDevice, etc.)• Actions are “events”• Interactive programs are “event-driven”Interactivity in Alice• No interaction –Octopus Ride – movie• Animation with interaction –Ice Skater– What are the events?– What response does the skater make to each event?Objects• What is an object?– Can be identified as unique from other things• How is an object unique?– Has a name– Has properties• Width, height, color, location, age, ss#, id#– Has a purpose• Associated actions it can perform• Tasks it can carry outClass• Objects are categorized into classes• Each object is an “instance” of the class• All objects in a class – Have similar properties– Generally can perform the same tasksObjects in a Virtual World• In Alice, each 3D model is a class of objects– chicken, chicken2, chicken3– Has colors• red, white, blue, grey, black, …Object Parts• Objects may be composed of partsCenter• At the center of mass• Where it stands on the ground• Where it is heldToday’s Classwork• Create a folder to work in each class period– My Documents => compsci4 => jan2705• Finish Appendix A – Part 1 and Part 2– Get checked off• Exercises 1, 2, and 3 on page 18– Get checked off• Copy work over to Duke


View Full Document

Duke CPS 004 - Lecture

Documents in this Course
Lecture

Lecture

18 pages

Chapter 7

Chapter 7

18 pages

Chapter 9

Chapter 9

15 pages

Java 1

Java 1

24 pages

Java 3

Java 3

11 pages

Lecture

Lecture

10 pages

Chapter 4

Chapter 4

28 pages

Chap 2

Chap 2

16 pages

Graphics

Graphics

20 pages

Lecture

Lecture

12 pages

HTML

HTML

16 pages

Java 1

Java 1

6 pages

Chapter 4

Chapter 4

16 pages

The Plan

The Plan

25 pages

Lecture

Lecture

16 pages

Chapter 6

Chapter 6

21 pages

Lecture

Lecture

18 pages

Lecture

Lecture

23 pages

Lecture

Lecture

16 pages

Lecture

Lecture

19 pages

Lecture

Lecture

5 pages

Lecture

Lecture

26 pages

Lecture

Lecture

16 pages

Chapter 7

Chapter 7

23 pages

Lecture

Lecture

21 pages

Lecture

Lecture

4 pages

Lecture

Lecture

4 pages

Lecture

Lecture

8 pages

Lecture

Lecture

4 pages

Lecture

Lecture

10 pages

Chapter 4

Chapter 4

32 pages

Java

Java

4 pages

CompSci 4

CompSci 4

18 pages

Lecture

Lecture

26 pages

CompSci 4

CompSci 4

12 pages

HTML

HTML

17 pages

Lecture

Lecture

16 pages

Chapter 5

Chapter 5

22 pages

Lecture

Lecture

4 pages

Chapter 4

Chapter 4

10 pages

Chapter 2

Chapter 2

15 pages

Chapter 8

Chapter 8

14 pages

Lecture

Lecture

15 pages

Load more
Download Lecture
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lecture and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lecture 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?