BeginningCodersBootcamp

Bootcamp 01

allow for 30 minutes of technical setup for open frameworks.

open with a 20 minute talk about the goals of coding. what is code? slides


new sketch 1.01: “name”

introduction

spend 10 minutes learning about and exploring open frameworks drawing functions like line, rect, circle, ellipse.

lessons:

draw your name

comment out all your draw code.

challenge: draw your name. 20 minutes

draw your name twice

make your name appear again, in another location, translated to the side, below, etc…, wherever you have room (or, allow for overlap if most of the space is already taken)

challenge: draw your name twice, a copy right next to this one. 5-10 minutes

variables

let’s come back together and learn about variables. we have some slides. 20 minutes talk about the life cycle of variables: (1) declaration, (2) assignment, (3) use it, (3) death

back to your name sketch: prepare your code in such a way that the translation was written by adding + 300 by typing it out like this (not doing the math yourself). the catch is the + 300 will be replaced by the variable.

challenge: make copies of your name using variables.

the solution in this video

Homework

prepare for homework by creating a new project and copy-pasting the contents from the name sketch over.

new sketch 1.02: “letter-function”

your homework is two parts:

  1. watch this video to learn how to convert your letter-drawing code into a function.
  2. make a new drawing using your letter-drawing function. take advantage of how you can easily repeat your letter with different parameters. maybe incorporate mouseX or mouseY.