Reproduce this Image with Code

Above the reproduced image and the code below. Totally trial and error and intuitive. I really need a better tool for scale and color is through the eye of the beholder.

function draw() {

background(0,255,255);
strokeWeight(40);
stroke(255,0,0);
line(0,0,600,400);

strokeWeight(0);
ellipse(300, 200, 300, 220);
fill(0,0,153);
rect(410,160,40,40);
strokeWeight(0);
fill(0,204,0);
}

Posted in ICM

2 thoughts on “Reproduce this Image with Code

Leave a Reply

Your email address will not be published. Required fields are marked *