02 编程画线 processing

2020-05-04  本文已影响0人  Mack老师

size(600,400);

background(255);

stroke(0);

strokeWeight(10);

line(300,50,300,350);

size(600,400);

background(255);

stroke(255,0,255);

strokeWeight(10);

line(300,50,300,350);

size(600,400);

background(255);

stroke(0,0,255);

fill(0,0,255,100);

triangle(300,50,150,300,450,300);

上一篇 下一篇

猜你喜欢

热点阅读