Doraemon
Hey Guys this project is there on the YouTube Channel . So click on the video and do check it out
Code:
function setup() {
createCanvas(400, 400);
colorMode(HSB, 360, 100, 100);
}
function draw() {
background(220);
fill(200, 100, 100);
ellipse(200, 232, 180, 180);
fill(100, 100);
ellipse(200, 248, 150, 150);
fill(10, 100, 100);
ellipse(200, 199, 25, 25);
fill(100, 100);
ellipse(184, 173, 33, 37);
fill(100, 100);
ellipse(218, 173, 33, 37);
fill(100, 100, 0);
ellipse(193, 173, 8, 8);
fill(100, 100, 0);
ellipse(210, 173, 8, 8);
line(200, 210, 201, 249);
line(170, 240, 200, 249);
line(230, 240, 200, 249);
line(240, 215, 310, 200);
line(240, 220, 310, 225);
line(240, 225, 310, 250);
line(150, 215, 85, 220);
line(150, 220, 85, 225);
line(150, 225, 85, 250);
}
function keyPressed() {
save();
}
We are done with making our doraemon.
0 Comments