CS320n Elements of Visual Programming .

Uploaded on:
Visual Programming. Prologue to Alice. 2. What We Will Do Today. take a gander at the Alice programming environmentcreate some straightforward projects in Alice. Visual Programming. Prologue to Alice. 3. What is Alice?. Named to pay tribute to Lewis Carroll\'s (nom de plume) Alice in WonderlandCharles Lutwidge Dodgson was likewise a mathematician and logicianA present day programming toolpurpose of hardware, figure out how to program,
Slide 1

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

Slide 2

What We Will Do Today take a gander at the Alice programming condition make some straightforward projects in Alice Introduction to Alice

Slide 3

What is Alice? Named to pay tribute to Lewis Carroll\'s (nom de plume) Alice in Wonderland Charles Lutwidge Dodgson was likewise a mathematician and scholar A cutting edge programming device reason for device, figure out how to program, compose calculations 3-D illustrations 3-D models of items Animation Objects can be made to move around virtual world (a reproduction or a computer game. Straightforward Pixar .) Introduction to Alice

Slide 4

Computer Programs General reason programming dialects can be utilized for any undertaking Alice is not a universally useful programming dialect. It is an application particular dialect intended for a particular assignment, making 3D activitys bunches of use particular dialects. Case: dialect for working with DNA information Introduction to Alice

Slide 5

Fundamental Tools All dialects contain these components rundown of directions – "Pack lunch, pack nibble, place homework in rucksack." basic leadership – "On the off chance that I didn\'t shave yesterday, shave today." reiteration of conduct – "Do a heap of clothing until there is not any more grimy clothing." modularization. Enormous rocks into little shakes. "To do a heap of clothing: assemble garments, get garments right-side out, put garments of comparative shading into clothes washer… " Generalization: Solve a wide range of issues with one arrangement of directions Compute an outcome – "What amount is it going to cost to top off my auto with gas?" Introduction to Alice

Slide 6

What does Alice keep running on? Alice is free. Alice is composed in Java just working adaptations are for PCs and Macs with OSX 10.3 or higher (moderately new, may in any case have bugs) Sorry, no Linux, yet the book accompanies a duplicate of Alice for Windows machines www.alice.org likewise on the PCs in the CS Elements lab Introduction to Alice

Slide 7

Fast Start Up Can rapidly figure out how to make a basic movement in a matter of minutes a non-insignificant activity in a couple class periods Can figure out how to utilize the Alice interface in a couple class periods in the event that you do several activities at home Introduction to Alice

Slide 8

Installing Alice If you need to introduce Alice on you PC at home utilize the CD that accompanies the reading material CD establishment is direct download Alice from the web http://www.alice.org/downloads/authoringtool/document configuration is .compress must "unfasten" record utilizing a program, for example, winzip issues? post to newsgroup Introduction to Alice

Slide 9

Memory Management Alice consequently oversees memory But, composing and testing an activity is an extraordinary load on the processing framework a crash can happen. Best arrangement: Alice (the program) reminds you now and then so spare your work spare your projects frequently! on the off chance that working in lab when you logout the PC is wiped - > spare to your record or to a reinforcement framework, for example, a memory stick Introduction to Alice

Slide 10

The Power of Alice Automatically monitors 3-D objects what items are in the virtual world sorts of articles places of articles on the planet Introduction to Alice

Slide 11

Demo Starting Alice Loading a World Running A World Saving a World How to Exit Introduction to Alice

Slide 12

The World Alice Programs/Movies happen in a virtual world When you begin another world in Alice you select the foundation The world comprises of a sky and the ground Can\'t be changed subsequent to making the world the world is not limitless DEMO (I don\'t care for thrill rides any more) Introduction to Alice

Slide 13

Objects in Alice Objects as of now exist. Several them Introduction to Alice

Slide 14

Program an Object Introduction to Alice

Slide 15

Where Do Objects Come From? They are pre fabricated making 3D items is another range of processing and visual computerization Sources of 3D protests the nearby display that accompanies the product Alice web exhibition How are articles added to the world? Prologue to Alice

Slide 16

Adding Objects Click on the green "Include Objects" catch World extends and nearby exhibition showed Introduction to Alice

Slide 17

Adding Objects Local display partitioned into an index in light of subject add cases of articles to world by relocating or tap on protest and select add occasion alternative Introduction to Alice

Slide 18

Objects in the World Can have numerous examples of items from a similar class in the World class: like a treat cutter articles: like the treats star treat cutter star treat class star treats star treat objects Introduction to Alice

Slide 19

Objects in the World penguin class penguin questions in a virtual world Introduction to Alice

Slide 20

Objects in the World The Objects that are available in the present world are recorded in the Object Tree The upper left board in the Alice programming condition Every world accompanies a light, a camera (perspective for the motion picture when played), and the ground Introduction to Alice

Slide 21

Object Dimensions Objects in Alice universes are 3 dimensional height width profundity Introduction to Alice

Slide 22

Object Position Objects are situated in 3-D space Have six degrees of opportunity (headings of development) Introduction to Alice

Slide 23

Objects "Know" Relative Directions Yellow box around penguin is its bouncing box light blue line is up/down pink line is left/right dull blue line is forward in reverse DEMO Introduction to Alice

Slide 24

Exercises on the off chance that you need to work at home, introduce Alice on your PC Complete Appendix A, Part 1, utilizing Alice a walkthrough of utilizing Alice Complete the instructional exercises that accompany Alice Introduction to Alice

Slide 25

Starting Tutorials Introduction to Alice

View more...