Using Alice to Introduce Programming Concepts Mr. Craig Ham Technology Coordinator Westminster Schools of Augusta Augusta, GA.

Slides:



Advertisements
Similar presentations
Objects in Alice: Positioning and Moving Them By Jenna Hayes under the direction of Professor Susan Rodger Duke University July
Advertisements

Alice.
Objects and Properties Alice. Objects in Alice Objects already exist. Hundreds of them.
Getting Started With Alice By Ruthie Tucker under the direction of Prof. Susan Rodger Duke University, July
CS320n –Visual Programming Class-level Methods and Inheritance – Part 1 Mike Scott (Slides 4-3-1) Thanks to Wanda Dann, Steve Cooper, and Susan Rodger.
Skater World: Part One By Deborah Nelson Duke University Under the direction of Professor Susan Rodger May 29,
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland Modified by Serita Scott Further modified by Suzy Crowe.
1 Alice: Beyond the Basics Steve Cooper Michelle Venable-Foster Barbara Ericson May 2007.
1 Alice: Beyond the Basics Steve Cooper Michelle Venable-Foster Barbara Ericson Aug 2009.
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.
What is Alice? Graphical Programming Environment and Language Learn object oriented programming using 3 dimensional objects and a story telling approach.
Programming in Alice Chapter 2 Part 2. Events Editor Identifies what method is executed (run) when the “Play” button is hit 2.
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.
Alice Learning to program: Part Two by Ruthie Tucker and Jenna Hayes Under the direction of Professor Susan Rodger Duke University, July 2008.
01-Intro-Object-Oriented-Prog-Alice1 Barb Ericson Georgia Institute of Technology Aug 2009 Introduction to Object-Oriented Programming in Alice.
by Chris Brown under Prof. Susan Rodger Duke University June 2012
Don Slater Wanda Dann Motion and Rotation Copyright 2012 Wanda Dann, Don Slater All rights reserved.
Programming Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Princess & Dragon – Version 2 By Michael Hoyle under the direction of Professor Susan Rodger Duke University July 2012 Updated June 2014 by Ellen Yuan.
Programming with Alice Computing Institute for K-12 Teachers Summer 2011 Workshop.
Motion and Rotation. 3 Dimensional Space  An Alice object o Is located in a 3D world, positioned at (x, y, z) o has 3 dimensions o height, width, depth.
Alice As an Interdisciplinary Teaching Tool Presented by Craig Ham Technology Coordinator, US/MS Computer Teacher Westminster Schools, Augusta GA.
Getting started with Alice Adapted from presentations by Jenna Hayes, Duke University Donna Gavin, UWP Computer Science and Software Engineering.
Alice 2.0 Introductory Concepts and Techniques Project 1 Exploring Alice and Object-Oriented Programming.
Don Slater Wanda Dann Joint Operations Copyright 2012 Wanda Dann, Don Slater All rights reserved.
Classes and Objects Copyright 2014 Wanda Dann, Don Slater All rights reserved.
CS329e – Elements of Visual Programming Implementing Programs Mike Scott (Slides 2-2)
Alice Tutorial: Overview and Concepts Wayne Summers Columbus State U. 11/17/06.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
An Introduction to Alice (Short Version) – Extras! Yossra Hamid Under the Supervision of Professor Susan Rodger Duke University, June 2014 This is a continuation.
Skater World: Part Two By Deborah Nelson Duke University Under the direction of Professor Susan Rodger June 1,
Alice Workshop November 2009 By: Kim Glavan New Lenox School Dist #122.
Creating a Historical Tour in Alice By Jenna Hayes May 2010.
Alice 3.0 A Guided Tour Mike R-D YRDSB. Agenda General Walkthrough of Alice 3.0 Loops, Variables, Threads Methods / Properties Arrays Misc.
Introduction to Alice Web Design Section 8-2 Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
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,
Alice: A Free 3D Animation World for Teaching Programming.
Joint Motion Copyright 2014 Wanda Dann, Don Slater All rights reserved.
Princess & Dragon Part 3: A Knight Comes Riding In—Cameras & Events By Elizabeth Liang under the direction of Professor Susan Rodger Duke University June.
Presenter: Carol Liss Timberlane Regional Middle School 6 th and 7 th grade Tech. Educator Co presenters:
Alice in Action with Java Chapter 1 Getting Started with Alice.
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.
Classes and Objects Copyright 2014 Wanda Dann, Don Slater All rights reserved.
CS0007: Introductory Programming Rotational Motion.
The Alice Scene Editor.
Professor Susan Rodger
Setting Up the Initial Scene
An Introduction to Alice (Short Version)
Getting started in Alice
Alice 3 Using the Alice 3.1 Interactive Development Environment (IDE)
Changing Camera Views! Part 1: Set Point of View to By Bella Onwumbiko
Learning Java with Alice 3.0 Game Design Kathy Bierscheid
Programming using Alice 3
Introduction to Programming
Adding and Manipulating Objects
Chapter 1: Introduction to Alice and Objects
Using Objects in Alice.
Alice in Action with Java
Alice: Beyond the Basics
Objects in Alice: Positioning and Moving Them
Alice: A Free 3D Animation World for Teaching Programming
Alice 2.2 Introduction.
Alice: A Free 3D Animation World for Teaching Programming
Lesson One: Objects in Alice: Positioning and Moving Them
Presentation transcript:

Using Alice to Introduce Programming Concepts Mr. Craig Ham Technology Coordinator Westminster Schools of Augusta Augusta, GA

Computer Science  It’s crucial we begin to push CS at the secondary level  US Dept Labor predicts CS jobs will be the fastest growing and highest paying over the next decade  CS Provides 21 st Century skills necessary for innovation. Job demand is growing and by 2016 estimates are 1.5 million jobs in CS

What Can Your School Do to Successfully Incorporate CS Education?  Implement CS classes. Rigorous and engaging.  Allow CS to count toward graduation (as math or science)  Make courses accessible for all. Recruit those underrepresented.  Improve teacher preparation and professional development.

How Does Alice Fit In?  Alice is designed to engage students with the designs of programming but without the tedium of syntax and error checking.  Additionally it creates all this in a 3 dimensional space instead of text on the screen.

What is and what can I do with Alice?  Alice is a modern programming environment designed to be a student's first exposure to object-oriented programming. It allows students to learn basic computer science while creating animated movies, simple video games, where students control the behavior of 3D objects and characters in a virtual world.

Updates, Releases, Fixes  New releases each Spring and Fall  Look for ver 2.2 and the most current date with is 8/5/2011  Versions for both Mac and PC  After you download (351 MB)  Copy the Alice 2.2 Folder-no install  Run Alice from the folder

Several Good Books out there

Text by Charles Hebert

What I Hope to Cover  Alice screen layout overview  Positioning, Resizing, Moving Objects  Motion and Orientation  Other things that “pop” into my head  Your questions! Most of the follow slides were created by Wanda Dann, Steve Cooper, and Don Slater at Carnegie Mellon University

Alice Code Editor Object tree Control Structures Object details Events Editor World View Go to Scene Editor

Demo & Practice  Go to Scene Editor of this project  (click on Add Objects button)  aliceLiddell (People gallery)  hare (Animal gallery)  axes (Shapes gallery)  Identify the center of each object.  Identify the forward direction of each.  Identify the up direction of each.

Motion  Motion of an object is relative to  the orientation of the object  the location of the object Location is defined by an objects center point (or pivot point)  The art of Alice animation is manipulating the location and orientation of an object and / or its subparts to create the illusion of motion.

Orientation  Orientation is an object’s sense of direction  A 3D object has  3 dimensions height, width, depth  6 directions of motion

Center of an object  An object is positioned in the world, with reference to the center of the object.  The center of an object can be:  At the center of mass, or  Where it stands on the ground, or  Where it is held or connected (for example, a hinge joint)

Alice Scene Editor Object tree Gallery Object details Camera Controls Mouse Control World View Return to Code View

Translational Motion  Changes position of an object in the world  The direction of translational motion is stated relative to the self-centric orientation of the object.  Six directions move left right up down forward backward

Bounding Box Viewing the intersection of axes in an object’s bounding box is one way to determine where the center of an object is located.

Set-up methods  To illustrate object motion, we will use the object’s popup menu of menu methods.  Process for using a set-up method:  Right-click on the axes from the object tree or in the world  Select methods from the list  Select a method from the list

Selecting a menu method: orient to Right-click on axes

Demo & Practice  Use a menu move instruction with  aliceLiddell  hare  axes  Note:  You can click the Undo button to return an object to its initial position before trying another move.

Question  Other than move, what other methods in the menu can be used for “translational motion”?

Using Alice to Introduce Programming Concepts Mr. Craig Ham Technology Coordinator Westminster Schools of Augusta Augusta, GA

Rotational Motion  Rotational motion changes the orientation of an object in the world  An object’s center acts as its pivot point for rotation of the whole object.  Two forms of rotational motion: turn forward, backward left, right roll left, right

Hands-On Practice  Compare turn and roll menu methods with aliceLiddell and the hare Note: Be sure to click the Undo button to return to initial position before trying another rotational motion.  How would you describe the center point of each object? Are they the same?

Question  Other than turn and roll, what other methods in the menu create “rotational motion”?

Rotational Motion: Subpart  Rotational motion of a subpart of an object may have a surprising result  Turn and roll actions for a subpart are pivoted around the center of the subpart, generally located where the subpart connects to the rest of the object (see example, next slide)

Example  The hare’s right arm is centered at the shoulder(the pivot point) of the upper arm to the body Note: A few Alice 2 models were designed to work differently and, therefore, do not conform to this example.

Center for a subpart  One way to view the center of a subpart is to move an axes object to the subpart and then orient the axes to the subpart.  Example: hare’s rightArm’s center

Movement of a subpart  One way to view the movement of a subpart is to set the vehicle of the axes to the subpart and then orient the axes to the subpart.  Example:  Select axes in the object tree  Select properties tab in axes detail’s window  Change vehicle property using the drop down menu

Review 1TranslationalMotion.a2w 1RotationalMotion.a2w Open File Menu: World Click on Examples tab Click on workshopWorlds folder Click on Day1 folder

Text  Additional information on motion instructions may be found in  Tips & Techniques 2 Orientation & Movement Instructions

Practice Problem Open file 1HelloWorldStart.a2w The hare is waiting in the garden when Alice enters from the left. (She is off screen at the beginning of the world.) Have the hare turn to greet Alice after she enters. Both say hello to each other. (use the say method of the objects.) Then they both turn to greet the viewer, with a wave. For an extra challenge, try to have Alice wave her hand. They should return their arms to the original starting position. Open File Menu: World Click on Examples tab Click on workshopWorlds folder Click on Day1 folder

Additional Material  The following slides contain additional information, examples and topics that will not be covered explicitly in this workshop.  See workshop leader during breaks for more details

Pivot Point Orientation  Different pivot point connections and orientations may be found in 3D objects because Alice 2 models were designed  Over several years by dozens of different graphic artists  For many different virtual world projects, where a variety of connections for subparts were needed

roll and turn  If subparts are connected with pivot points differently, the same roll and turn instructions may result in different actions on different objects.  This is particularly noticeable in biped objects where arms and legs are animated.

Demo

Walking  The variations in design and construction of 3D models make it difficult to write a walking method that can be used for all bipedal objects.  Alice 2.2 has a Walking People gallery containing 3D models for creating “people” objects that already know how to walk  look inside the People gallery for Walking People folder

Walking People Gallery