Lab 1: Snap Introduction

Objective: Become familiar with the Snap programming environment and learn about a few basic Snap "blocks".

This lab, like all of the "Snap" labs for this class is taken directly from a similar course at UCB. Most students should be able to complete this lab during their scheduled lab time. You are encouraged to complete all of the Snap (programming) labs with a partner using pair programming. Please click this link for details on Pair Programming. For this assignment, work through the "Introduction to Snap!" lab. When you have completed your Kaleidoscope, be sure and save it in the cloud and then export it as XML so you can turn it in to ecommons.

To export your Snap sketch (aka program), do the following (taken from the Snap manual):

From the file menu, choose “Export project…” The entire Snap! window will disappear, replaced by a screenful of what looks like gibberish. Don’t panic! This is what’s supposed to happen. You are looking at your project, in a notation called XML. The main reason it looks like gibberish is that it includes an encoding of the pictures and other media in the project. If you look through the XML, the actual scripts of the project are pretty readable, although they don’t look like Snap! blocks. Snap! has opened a new browser tab for this XML text; the actual Snap! window is still there, hiding in its original tab.

But the point of this XML text isn’t for you to read. Once you’re looking at that tab, use your browser’s Save command (in its File menu, or usually with a shortcut of command-S (Mac) or control-S (everything else). You can choose a filename for it, and it’ll be saved in your usual Downloads folder. You can then close that tab and return to the Snap! tab.

 Please name your file kaleidoscope.xml and submit that file in ecommons. 

Due: Monday, October 3rd, 8am.