1 of 10

SFPC Bootcamp

April-May 2020

2 of 10

Goals

  • learn vocabulary
    • get better at asking questions
  • get un-stuck faster
  • be able to plan and visualize; select the right tool for the job
  • daily sketching
  • get the “feeling” of code

3 of 10

Understand the limitations of the screen

4 of 10

5 of 10

6 of 10

void setup() {� Serial.begin(9600);� Serial.println("Hello, world!");�}

ldy #0�beq in�loop:�jsr $ffd2�iny�in:�lda hello,y�bne loop�rts�hello: .tx "Hello World!"� .by 13,10,0

++++++++++[>+++++++>++++++++++>+++<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.

#include <iostream.h>��main() {� cout << "Hello World!" << endl;� return 0;�}

(defn hello []

(println "Hello world!"))

(hello)

say "Hello, world!"

7 of 10

openFrameworks

8 of 10

variables

9 of 10

common variable types

  • int
  • float
  • char
  • bool

10 of 10

life cycle of a variable

  1. create the variable
  2. put a value in it
  3. get a value out of it
  4. gets destroyed (scope)