2020年9月14日 星期一

WEEK-1

 Processing-初學

幾個基礎畫圖指令

  1. line
  2. rect、ellipse
  3. stroke、strokeWeight
  4. fill、size、background
等等.......
一顆寶貝球~

size(480,480);
background(255);
fill(255,0,0);
circle(240,240,360);
stroke(255);
fill(255);
rect(0,240, 480,240);
stroke(0);
strokeWeight(5);
fill(255,0);
circle(240,240,365);
stroke(0);
strokeWeight(10);
line(60,240, 420,240);
fill(255);
circle(240,240,72);

沒有留言:

張貼留言