An example of the project for 01.
aleks_project_01_copy
function setup() {
createCanvas(200, 200);
background(220);
}
function draw() {
fill (145, 63, 153);
strokeWeight (4);
ellipse (70, 70, 80);
fill (245, 66, 197);
quad (24, 35, 86, 20, 90, 70, 20, 50);
stroke (245, 66, 197)
line (25, 35, 25, 140);
line (25, 35, 27, 144);
line (24, 35, 20, 140);
line (25, 34, 20, 147);
line (34, 34, 22, 145);
stroke (0);
fill (260);
ellipse (60, 60, 25); //first eye
fill (220);
ellipse ( 90, 60, 35); //seccond eye
fill (0);
ellipse (60, 60, 5); //first eyeball
fill (40);
ellipse (90, 60, 15); //seccond eyeball
fill (180, 240, 244);
triangle (70, 70, 70, 80, 85, 80);
stroke (180, 240, 244)
line (50, 100, 80, 100);
noLoop ();
}