03 processing 教孩子编程画方形
2020-05-04 本文已影响0人
Mack老师
size(600,400);
background(255);
fill(0,0,255,100);
rect(10,10,285,185);
rect(305,10,285,185);
size(600,400);
background(255);
fill(0,0,255,100);
stroke(255);
strokeWeight(20);
rect(0,0,600,400);
strokeWeight(10);
rect(50,50,500,300);
strokeWeight(5);
rect(100,100,400,200);
strokeWeight(3);
rect(150,150,300,100);