CS320n – Elements of Visual Programming Introduction to Alice Mike Scott (Slides 1-1)

Slides:



Advertisements
Similar presentations
Welcome To Smartboard Technology
Advertisements

Windows Movie Maker Introduction to Video Editing Mindy McAdams.
Alice.
Objects and Properties Alice. Objects in Alice Objects already exist. Hundreds of them.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland Modified by Serita Scott Further modified by Suzy Crowe.
Programming with Alice. Getting Started with Alice Alice is a free programming language – Named in honor of Lewis Carroll – See web page for download.
Introduction to Alice Alice is named in honor of
Wild About Career and Technology Education We Are Vidor Independent School District.
Introduction to Alice Web Design Section 8-2 Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Fall 2008ACS-1805 Ron McFadyen1 ACS-1805 Introduction to Programming using Alice 2.0 Ron McFadyen Course OutlineMcFadyenOutline.
Fall 2009ACS-1805 Ron McFadyen1 ACS-1805 Introduction to Programming using Alice.
Alice: A Visual Introduction to Programming Chapter 1 Part 2.
CS320n –Visual Programming Introduction to LabVIEW.
Introduction to Alice CS Honors Slides courtesy of Wanda Dann, Ithaca College.
Alice: A Free 3D Animation World for Teaching Programming Barbara Ericson Georgia Institute of Technology Oct 2005.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
01-Intro-Object-Oriented-Prog-Alice1 Barb Ericson Georgia Institute of Technology Aug 2009 Introduction to Object-Oriented Programming in Alice.
Lab 8 – C# Programming Adding two numbers CSCI 6303 – Principles of I.T. Dr. Abraham Fall 2012.
Introduction to VB.NET Tonga Institute of Higher Education.
Programming Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
CSS Sprites. What are sprites? In the early days of video games, memory for graphics was very low. So to make things load quickly and make graphics look.
CSC1401: Introductory Programming Steve Cooper
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Learning to Program with Alice – Chapter 1 September 16, 2009.
CS329e – Elements of Visual Programming Implementing Programs Mike Scott (Slides 2-2)
Alice: A Visual Introduction to Programming Chapter 1 Part 2.
Alice Tutorial: Overview and Concepts Wayne Summers Columbus State U. 11/17/06.
CompSci 4 Introduction to Programming Animation and Virtual Worlds Prof. Susan Rodger.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Obj: Introduction to Alice HW: Read handout and answer questions. Alice is named in honor of Lewis Carroll’s Alice in Wonderland Day 5.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland Slides Credit: Joel Adams, Alice in Action CS120 Lecture August,
Alice and Algorithms Chapter 1 Part Reasons to Program The joy of programming To create a tool To use your creativity abilities For non programmers.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
CS320n –Visual Programming Classes, Objects, and World- Level Methods Mike Scott (Slides 4-1)
Review for test! Alice Chapter 1&2 Test is tomorrow! - March 26 th March 25th.
Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 Drawing pictures … It’s not art, it’s fun.
Introduction to Alice Web Design Section 8-2 Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
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,
CompSci 4 Starting Alice Jan 15, 2009 Prof. Susan Rodger Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
CompSci 4 Starting Alice Sep 2, 2010 Prof. Susan Rodger Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Chapter 1: Introduction to Alice and Objects
Alice: A Free 3D Animation World for Teaching Programming.
Programming in Alice IT-IDT-9 Design, develop, test and implement programs using visual programming. 9.1 Utilize drag and drop software to develop programs.
Setting Up the Initial Scene. Problem Solving in Alice Set up the initial scene in a new world The princess example Setting up the initial scene.
Introducing Scratch Learning resources for the implementation of the scenario
CS320n – Elements of Visual Programming
Getting started in Alice
Obj: Introduction to Alice
An introduction to programming Created by Dr. Randy Pausch
Introduction to Alice Alice is named in honor of
Learning Java with Alice 3.0 Game Design Kathy Bierscheid
Introduction to Alice Alice is named in honor of
Introduction to Programming
Chapter 1: Introduction to Alice and Objects
Introduction to Alice Alice is named in honor of
Introduction to Alice Alice is named in honor of
Introduction to Alice Alice is named in honor of
Alice: A Free 3D Animation World for Teaching Programming
Introduction to Object-Oriented Programming in Alice
Intro to digital technology
Alice: A Free 3D Animation World for Teaching Programming
Introduction to Alice Alice is named in honor of
Lawrence Snyder University of Washington, Seattle
Introduction to Alice Alice is named in honor of
Introduction to Alice Alice is named in honor of
Presentation transcript:

CS320n – Elements of Visual Programming Introduction to Alice Mike Scott (Slides 1-1)

Visual ProgrammingIntroduction to Alice2 What We Will Do Today look at the Alice programming environment create some simple programs in Alice

Visual ProgrammingIntroduction to Alice3 What is Alice? Named in honor of Lewis Carroll’s (pen name) Alice in Wonderland –Charles Lutwidge Dodgson was also a mathematician and logician A modern programming tool –purpose of tool, learn how to program, write algorithms –3-D graphics –3-D models of objects Animation –Objects can be made to move around virtual world (a simulation or a video game. Simple Pixar.) Pixar

Visual ProgrammingIntroduction to Alice4 Computer Programs General purpose programming languages can be used for almost any task Alice is not a general purpose programming language. –It is an application specific language –designed for a specific task, creating 3D animations –lots of application specific languages. Example: language for working with DNA data

Visual ProgrammingIntroduction to Alice5 Fundamental Tools All languages contain these elements 1.list of instructions – “Pack lunch, pack snack, put homework in backpack.” 2.decision making – “If I didn’t shave yesterday, shave today.” 3.repetition of behavior – “Do a load of laundry until there is no more dirty laundry.” 4.modularization. Big rocks into little rocks. “To do a load of laundry: gather clothes, get clothes right- side out, put clothes of similar color into washing machine…” 5.Generalization: Solve many different problems with one set of instructions 6.Compute a result – “How much is it going to cost to fill up my car with gas?”

Visual ProgrammingIntroduction to Alice6 What does Alice run on? Alice is free. Alice is written in Java –only working versions are for PCs and Macs with OSX 10.3 or higher (relatively new, may still have bugs) –Sorry, no Linux, yet –the book comes with a copy of Alice for Windows machines – –also on the computers in the CS Elements lab

Visual ProgrammingIntroduction to Alice7 Fast Start Up Can quickly learn to create –a simple animation in a matter of minutes –a non-trivial animation in a few class periods Can learn to use the Alice interface in a few class periods if you do a couple of exercises at home

Visual ProgrammingIntroduction to Alice8 Installing Alice If you want to install Alice on you computer at home –use the CD that comes with the textbook CD installation is straightforward –download Alice from the web file format is.zip must “unzip” file using a program such as winzip problems? post to newsgroup

Visual ProgrammingIntroduction to Alice9 Memory Management Alice automatically manages memory But, writing and testing an animation is an intense load on the computing system –a crash can occur. Best solution: Alice (the program) reminds you every so often so save your work save your programs often! if working in lab when you logout the computer is wiped -> save to your account or to a backup system such as a memory stick

Visual ProgrammingIntroduction to Alice10 The Power of Alice Automatically keeps track of 3-D objects – what objects are in the virtual world – types of objects – positions of objects in the world

Visual ProgrammingIntroduction to Alice11 Demo Starting Alice Loading a World Running A World Saving a World How to Exit

Visual ProgrammingIntroduction to Alice12 The World Alice Programs / Movies take place in a virtual world When you start a new world in Alice you select the background The world consists of a sky and the ground Can’t be changed after creating the world the world is not infinite DEMO (I don’t like roller coasters any more)

Visual ProgrammingIntroduction to Alice13 Objects in Alice Objects already exist. Hundreds of them

Visual ProgrammingIntroduction to Alice14 Program an Object

Visual ProgrammingIntroduction to Alice15 Where Do Objects Come From? They are pre built –creating 3D objects is another area of computing and graphic design Sources of 3D objects – the local gallery that comes with the software – Alice web gallery How are objects added to the world?

Visual ProgrammingIntroduction to Alice16 Adding Objects Click on the green “Add Objects” button World expands and local gallery displayed

Visual ProgrammingIntroduction to Alice17 Adding Objects Local gallery divided into a directory based on subject add instances of objects to world by –dragging and dropping or –click on object and select add instance option

Visual ProgrammingIntroduction to Alice18 Objects in the World Can have multiple instances of objects from the same class in the World –class: like a cookie cutter –objects: like the cookies star cookie cutter star cookie class star cookies star cookie objects

Visual ProgrammingIntroduction to Alice19 Objects in the World penguin classpenguin objects in a virtual world

Visual ProgrammingIntroduction to Alice20 Objects in the World The Objects that are present in the current world are listed in the Object Tree The top left panel in the Alice programming environment Every world comes with a light, a camera (point of view for the movie when played), and the ground

Visual ProgrammingIntroduction to Alice21 Object Dimensions Objects in Alice worlds are 3 dimensional height width depth

Visual ProgrammingIntroduction to Alice22 Object Position Objects – are positioned in 3-D space – Have six degrees of freedom (directions of movement)

Visual ProgrammingIntroduction to Alice23 Objects “Know” Relative Directions Yellow box around penguin is its bounding box light blue line is up/down pink line is left/right dark blue line is forward backward DEMO

Visual ProgrammingIntroduction to Alice24 Exercises if you want to work at home, install Alice on your computer Complete Appendix A, Part 1, using Alice –a walkthrough of using Alice Complete the tutorials that come with Alice

Visual ProgrammingIntroduction to Alice25 Starting Tutorials