Programming Fundementals

Get Started. It's Free
or sign up with your email address
Rocket clouds
Programming Fundementals by Mind Map: Programming Fundementals

1. if

1.1. drawCircle(50); void drawCircle(int r){ ellipse(50,50,r,r); r=r+1 if(r>100){r=0; } }

2. Basic

2.1. ellipse(X,Y,x,y);

2.2. line(X1,Y1,X2,Y2);

3. Variable

3.1. int

3.2. float

4. Sequence of commands Variables

4.1. User Defined Variable

4.1.1. EX int r= 80; //radius ellipse(50,50,r,r);

4.2. System Variable

4.2.1. <สูง>height ... canvas (ความสุงของหน้าจอแสดง)

4.2.2. <กว้าง>width (ความกว้างของหน้าจอแสดง)

4.3. User Defined Function

4.3.1. drawCircle(); , void drawCiecle(){};

4.4. System Function

5. User Defined Function:Local/Global Variables

5.1. Local

5.1.1. drawCircle(50); drawCircle(80); void drawCircle(int r){ ellipse(50,50,r,r); }

5.2. Global

5.2.1. int r=50; void draw(){ ellipse(50,50,r,r); }

6. Condition

6.1. else