By: Brian Cannella Andrew McCaffrey Thomas McConlogue.

Slides:



Advertisements
Similar presentations
Visual Lists By Chris Brown under Prof. Susan Rodger Duke University July 2012.
Advertisements

Alice.
Programming with Alice Computing Institute for K-12 Teachers Summer 2011 Workshop.
CompSci Applets & Video Games. CompSci Applets & Video Games The Plan  Applets  Demo on making and running a simple applet from scratch.
Creating a Program In today’s lesson we will look at: what programming is different types of programs how we create a program installing an IDE to get.
Copyright 2004 Monash University IMS5401 Web-based Systems Development Topic 2: Elements of the Web (g) Interactivity.
CS320n – Elements of Visual Programming Introduction to Alice Mike Scott (Slides 1-1)
1 Component Description Alice 3d Graphics Software Human Computer Interaction Institute Carnegie Mellon University Prepared by: Randy Pausch,
Introduction to Alice Basics : What is Alice? Object Oriented Definitions What Does it Look Like? Where Can I Use it?
Alice: A Free 3D Animation World for Teaching Programming Barbara Ericson Georgia Institute of Technology Oct 2005.
Alice Learning to program: Part 1 Scene Setup and Starting Animation by Ruthie Tucker and Jenna Hayes Under the direction of Professor Susan Rodger Duke.
How to turn on the robot How to start Bluetooth How to connect to robot How to initialize the robot How to not break the robot Sec Getting Started.
01-Intro-Object-Oriented-Prog-Alice1 Barb Ericson Georgia Institute of Technology Aug 2009 Introduction to Object-Oriented Programming in Alice.
Comparing Python and Visual Basic
Lesson 4 Computer Software
Lesson 4: What Is Software?
© 2011 Delmar, Cengage Learning Chapter 11 Adding Media and Interactivity with Flash and Spry.
CSC 110 A 1 CSC 110 Introduction to Python [Reading: chapter 1]
Chapter 3 Working with Symbols and Interactivity.
CS413: Java Programming language Applications Applets
20-753: Fundamentals of Web Programming Copyright © 1999, Carnegie Mellon. All Rights Reserved. 1 Lecture 16: Java Applets & AWT Fundamentals of Web Programming.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
Topics Introduction Hardware and Software How Computers Store Data
INTRODUCTION TO FRONTPAGE. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features Features  Starting Front Page Starting Front Page  Components.
Applets & Video Games 1 Last Edited 1/10/04CPS4: Java for Video Games Applets &
Web Design ITM 2010 Tutorial 1 Prepared by Wang Shiyu.
Programming with Alice Computing Institute for K-12 Teachers Summer 2011 Workshop.
Chapter 1 What is Programming? Lecture Slides to Accompany An Introduction to Computer Science Using Java (2nd Edition) by S.N. Kamin, D. Mickunas, E.
© 2011 Delmar, Cengage Learning Chapter 3 Working with Symbols and Interactivity.
Session 1 SESSION 1 Working with Dreamweaver 8.0.
Getting started with Alice Adapted from presentations by Jenna Hayes, Duke University Donna Gavin, UWP Computer Science and Software Engineering.
Presented by the Virginia 4-H Science and Technology Committee.
Chapter 8 Introduction to HTML and Applets Fundamentals of Java.
1 Graphics CSCI 343, Fall 2015 Lecture 1 Introduction to Graphics Read: Chapter 1 of textbook.
CS329e – Elements of Visual Programming Implementing Programs Mike Scott (Slides 2-2)
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
1 Using Personal Web Server to View Intranet Data City Planning and Development Department Kansas City Missouri.
Partners Comp# Partner APartner B 1 Ancona, SamanthaManternach, Hailey 2 Black, RyanMcNeil, Maddie 3 Conger, KevinOhland, Rebecca 4 Day, MerciOtterbein,
Integrating Active Tangible Devices with a Synthetic Environment for Collaborative Engineering Sandy Ressler Brian Antonishek Qiming Wang Afzal Godil National.
An Introduction to Alice (Short Version) – Extras! Yossra Hamid Under the Supervision of Professor Susan Rodger Duke University, June 2014 This is a continuation.
Cs332a_chapt10.ppt CS332A Advanced HTML Programming DHTML Dynamic Hypertext Markup Language A term describing a series of technologies Not a stand-a-lone.
Reading Flash. Training target: Read the following reading materials and use the reading skills mentioned in the passages above. You may also choose some.
Creating a 3D Interactive Story Prof. Susan Rodger Duke University July 19, 2007.
Changing Camera Views! Part 1: Set Point of View to By Bella Onwumbiko under the direction of Professor Susan Rodger Duke University July 2013 Updates.
Learning to Program: Part 1 Scene Setup and Starting Animation by Ruthie Tucker and Jenna Hayes Under the direction of Professor Susan Rodger Duke University,
Computing Fundamentals Module Lesson 23 — Computer Software
Creating An Animation Program Alice. Recall from last lecture We began the animation creation process We introduced the concept of storyboard We will.
Alice: A Free 3D Animation World for Teaching Programming.
1- How to connect the robot to the pc Sec Getting Started 3- How to move the robot Sec Scribbler movements 4- How to make a turn 11- How to.
Chapter 2 Build Your First Project A Step-by-Step Approach 2 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
Introducing Scratch Learning resources for the implementation of the scenario
Microsoft FrontPage 2003 Illustrated Complete Creating a Web Site.
Topics Introduction Hardware and Software How Computers Store Data
Computer Software: Programming
Chapter Topics 15.1 Graphical User Interfaces
Getting started in Alice
Changing Camera Views! Part 1: Set Point of View to By Bella Onwumbiko
An introduction to programming Created by Dr. Randy Pausch
Chapter Lessons Understand the Macromedia Flash workspace
The Alice Interface.
CHAPTER 8 Multimedia Authoring Tools
Learning Java with Alice 3.0 Game Design Kathy Bierscheid
Topics Introduction Hardware and Software How Computers Store Data
Citation Map Visualizing citation data in the Web of Science
Working with Symbols and Interactivity
Introduction to Object-Oriented Programming in Alice
Getting Started with Scratch
AutoCAD Certified user: Inventor
Presentation transcript:

By: Brian Cannella Andrew McCaffrey Thomas McConlogue

Alice In Python Land

Table of Contents Introduction to Alice Creating Simple Worlds Scripting (Python) Demos

What Is Alice? Alice is a 3D Interactive Graphics Programming Environment for Windows 95/98/NT Alice was constructed by the Stage 3 Research Group at Carnegy Mellon University It was originally developed at the University of Virginia It was designed to easily make 3D Graphical worlds which can be view through a web browser. (Web browser viewing requires the Alice plugin)

What Is Alice? (cont.) Alice is a scripting language to control 3D objects Alice in NOT a 3D modeling program Alice cannot create new 3D object, but it can import many different types of 3D objects Alice is based on the Python programming Language, Microsoft’s Direct 3D Library, and Microsoft’s Visual Basic

System Requirements Windows 95/98 with DirectX or NT 4.0 with Service Pack 3 A VGA graphics card capable of high (16 bit) color

System Recommendations A Pentium running at 90 Mhz or better Fast VGA graphics. WRAM is better than VRAM which is better than DRAM. 16 megs of RAM A Soundblaster-compatible sound card

Misc Points You don’t need to consider yourself a programmer to be able to use Alice. There is a tutorial available on the Alice Website ( If you can’t find what you are looking for on the extensive website there is a support staff to answer your questions. Alice has an infinite undo routine built in to encourage experimentation

Limitations Alice only runs on Windows machines. (It is not Mac or Unix compatable.) It does not support OpenGL It currently does not support VRML, but it may in the future It does not use java except to interface with web browsers

Limitations (cont.) Alice does not support POV Ray Files, and has no intent to do so. However, the developers would encourage an eager person to write a module that would. Alice cannot create stand-alone applications Alice cannot create 3D objects.

Creating Simple Worlds In Alice How To Create A World In Alice Moving And Using Built-In Objects

The Alice Control Panel This is the Alice Control Panel The Different Elements Are Located On The Left The World And The Controls Are Located On The Right

The Camera Window This Image Is What Alice Opens Up With There Is A Blue Sky There Is A Green Earth

Opening A World To Load An Existing World, Just Click Open Under File

Inserting An Object Select An Object From The List With The Mouse Move The Object Around The World Objects Can Be Rotated By Selecting The Direction In The Control Panel

Alice Commands If The Mouse Is Not Precise Enough For You Use Alice Commands bunny.move(forward, 1) Will Move The Bunny Forward One Unit

More Alice Movement bunny.move(back, 1) Will Move The Bunny Backwards bunny.move(left, 1) Will Move The Bunny Left All Directions Are Relative

The Turn Command bunny.turn(left, 1/4) Will Make The Bunny Do A 1/4 Revolution To The Left

Interaction Between Two Objects Adding A Second Object Is As Easy As Adding The First Moving Objects Is The Same For Objects Of Different Types

The PointAt Command Using The bunny.pointat(helicopter) Will Cause The Screen On The Right To Occur The Rabbit Is Now Facing The Helicopter

Parts Of Objects The Bunny Is Actually Not One Object The Bunny Is Made Up Of Bunny.Drum, Bunny.Head and Bunny.Body These Parts Can Operate Independent Of Each Other

Manipulating Parts bunny.head.pointat(helicopter) Will Cause Only The Head Of The Bunny To Turn And Face The Helicopter

Undo Is Your Friend The Undo Command Fixes Your Boneheaded Mistakes

Summary Of World Creation Commands Follow A Pattern Of object.command(detail, detail) Example: –object.move(direction, distance) –object.turn(direction, revolutions) –object.pointat(another_object)

Summary Of Direction Objects Can Move In Six Directions –forward –back –left –right –up –down

Summary Of Turn Objects Can Turn Four Ways –Forward –Back –Left –Right

Using the Script Tab Use this to create more advanced worlds Use to run blocks of code, instead of single line code.

Making Barney Move A short program to show the use of the Script tab in Alice

Running Barney HyperlinkHyperlink to Barney

Code to Barney Program lookleft = DoTogether ( purpledinosaur.rightarm.turn(back,.1), purpledinosaur.leftarm.turn(forward,.05), purpledinosaur.head.turn(left,.07), purpledinosaur.rightleg.turn(back,.1), purpledinosaur.rightleg.foot.turn(right,.2), purpledinosaur.tail.turn(left,.05), purpledinosaur.head.righteye.turn(up,.15), purpledinosaur.head.lefteye.turn(up,.15) ) centerfromleft = DoTogether ( purpledinosaur.rightarm.turn(forward,.1), purpledinosaur.leftarm.turn(back,.05), purpledinosaur.head.turn(right,.07), purpledinosaur.rightleg.foot.turn(left,.2), purpledinosaur.rightleg.turn(forward,.1), purpledinosaur.tail.turn(right,.05), purpledinosaur.head.righteye.turn(down,.15), purpledinosaur.head.lefteye.turn(down,.15) ) lookright = DoTogether ( purpledinosaur.rightarm.turn(forward,.05), purpledinosaur.leftarm.turn(back,.1), purpledinosaur.head.turn(right,.07), purpledinosaur.leftleg.turn(back,.1), purpledinosaur.leftleg.foot.turn(left,.2), purpledinosaur.tail.turn(right,.1), purpledinosaur.head.righteye.turn(left,.1), purpledinosaur.head.lefteye.turn(left,.1) ) centerfromright = DoTogether ( purpledinosaur.rightarm.turn(back,.05), purpledinosaur.leftarm.turn(forward,.1), purpledinosaur.head.turn(left,.07), purpledinosaur.leftleg.foot.turn(right,.2), purpledinosaur.leftleg.turn(forward,.1), purpledinosaur.tail.turn(left,.1), purpledinosaur.head.righteye.turn(right,.1), purpledinosaur.head.lefteye.turn(right,.1) )

Code To Barney Program dance = DoInOrder( lookleft, centerfromleft, lookright, centerfromright ) dancemany = DoTogether ( Alice.PlaySound('i_love_you_song'), Loop(dance, 6) ) diebarney = DoTogether ( Alice.PlaySound('03_start'), purpledinosaur.destroy(duration=2.5) ) controls = acontrolpanel(caption="Things Barney Does") label = controls.makelabel(caption="Click on a button and watch Barney go.") button = controls.makebutton(caption="Watch Barney Dance", command = dancemany) button2 = controls.makebutton(caption="Die Barney Die", command = diebarney)

Re-Running Barney HyperlinkHyperlink to Barney

Demos of Alice Octopus Fred’s Head Palace