Like this presentation? Why not share!

# Bootcamp - Team TEAL - Day 3

## by Liz Rutledge, Information Design and Web Development Consultant at Bitly on Aug 04, 2011

• 794 views

### Views

Total Views
794
Views on SlideShare
775
Embed Views
19

Likes
0
3
0

### 1 Embed19

 http://bootcamp.parsons.edu 19

## Bootcamp - Team TEAL - Day 3Presentation Transcript

• THE TEAL EDITION LIZ RUTLEDGE rutle173@newschool.eduDAY 3 esrutledge@gmail.comAugust 3, 2011 cell phone: 415.828.4865
• homework! now wasn’t that fun? let’s review. print() println() escape characters: n for new line, t for tab don’t forget! // put your name, date, and name of assignment in comment block at top of sketch // comment your code! quick tip: // when you’re debugging something and don’t want it to keep looping ad infinitum, you can add the function exit(); after the part you want to see in the console and it’ll exit the sketchDAY 3Tuesday, 3 Aug 2011 CODE bootcamp 2011
• today’s lesson... is brought to you by the letter G. 1. Review of Geometry (with more fun details) 2. Data Types 3. Variables (this is big) Ready??DAY 3Tuesday, 3 Aug 2011 CODE bootcamp 2011
• first up... get out your protractors! GEOMETRY!(wooooot! )DAY 3Tuesday, 3 Aug 2011 CODE bootcamp 2011
• concepts. the fun list items that you will soon master. size() stroke() background() strokeWeight() rect() line() color types point() vertex (begin/end) triangle (for making custom shapes) ellipse() fill() math operators: +,- noFill() ,*,% (yay math!)DAY 3Tuesday, 3 Aug 2011 CODE bootcamp 2011
• batting second... admittedly way less exciting but SUPER important DATA TYPES! (wooooot?) Remember how we said computers are dumb? Well they are. And yours is gonna need some help telling the difference between numbers and words.DAY 3Tuesday, 3 Aug 2011 CODE bootcamp 2011
• concepts. fewer in number, but way more critical string (often words or sentences) int (integers, or for mathophobes, whole numbers) float (decimal numbers) and if we have extra time today: boolean (true or false)DAY 3Tuesday, 3 Aug 2011 CODE bootcamp 2011
• last but not least... put on your math hats! OMG VAR1ABLES!!1!1!! computer programs aren’t static, so SOMETHING needs to be able to change on the fly. the solution? variables.DAY 3Tuesday, 3 Aug 2011 CODE bootcamp 2011
• concepts. the basics. what is a variable? how do they work? how do i create one? best practices. when should i use variables? (hint: frequently!) and how should i name them?DAY 3Tuesday, 3 Aug 2011 CODE bootcamp 2011
• pop quiz! psych! just an in-class exercise. let’s turn this... into this!DAY 3Tuesday, 3 Aug 2011 CODE bootcamp 2011
• homework. hooray! Reading. Petzold CODE: Chapter 10 FORM+CODE: “Form and Computers” (pg 27-41) Doing. Recreate your slice of Aitch’s Bit of Green using basic draw functions and color. (Tomorrow we’ll tile them all to see the full composition!) Bit of Green by Aitch (Helen Davison)DAY 3Tuesday, 3 Aug 2011 CODE bootcamp 2011
• need help? we got your back, brah. email/gchat: esrutledge@gmail.com if i’m not responding, shoot me a text: 415.828.4865 10th Floor Lab Office Hours: 6pm-9:00pm (we’re here to help!)DAY 3Tuesday, 3 Aug 2011 CODE bootcamp 2011