xxxxxxxxxx
25
var a=18;
function setup() {
createCanvas(800, 400);
}
function draw() {
background(0);
fill(255);
strokeWeight(1);
ellipse(50,0,1600,600);
// a = map(mouseX, 0, width, 5, 30);
for(var i=0; i<width; i+=a){
line(i, 0, i, 50);
line(i, 50, i*4,height);
}
//man
fill(127);
ellipse(700, 300, 20,20);
rect(685,310,30,40);
rect(685,352,30,48);
rect(680,312,4,45);
rect(716,312,4,45);
strokeWeight(2);
line(700,360, 700, height);
}