xxxxxxxxxx
47
// 9/23/20 tale
function setup() {
createCanvas(600, 600);
}
function draw() {
background(180);
let x;
let y;
push();
translate(-25,-25);
for(var i=0; i<4; i++){
y = i*150;
for(var j=0; j<4;j++){
x = j*150;
drawIt(x,y);
}
}
pop();
}
function drawIt(xPos, yPos) {
noFill();
let smolr = 50;
let s = 120;
let off = 100;
stroke(0);
strokeWeight(12);
push();
translate(off,off);
//smol circ
ellipse(xPos, yPos, smolr, smolr);
//big circ
strokeWeight(7);
arc(xPos,yPos,s,s,0,PI*1.65);
//line
strokeWeight(10);
line(xPos+s/2,yPos-s/3,xPos,yPos);
pop();
}