Thursday, September 12, 2013

Week 2


Variable
Scope
Conditionals

millis : 시작할때 시작한다. (컴퓨터의 시간을 쓰는게 아님)

7%2 : 1
6%2 : 0

millis()%1000

Variable

카메라를 센서처럼 써서 칼라 트래킹한데 !! 와웅

smooth 는 setup안에 쓴다

http://akj61300.blog.me/80133497413

float 와 int

colorChange

println



1. If (){}
   else if(){}
   multuple condition

2. Data
   Primitive

boolean - true or false
byte
char

3. smooth ();

4. float change = 25.5254;
int castedChange=(int)change;

5. PImage
When we want to show an image, put the img in the memory, when we setip the document this will help ir load faster.

6. Println
cna show how fast the function working

7. scope
very important, decide how wide the rules apply

8. if (mousepressed){
line(randomPx, randompy, random x, random y)
마우스 움직이기 전이나 후에 변화 있는거 생각해보기

9. && both true/ ll  either

variable 2개 이상 갖기
4사분면으로 나눠서 다른 액티배이션으로 하는거


No comments:

Post a Comment