I made this code using kahn academy. I was able to learn that coding and drawing can be very fun to code when you start coding. The reason why I made this photo is to share the pictures on how to make the egg, they are both ellipsed with the yolk and the outer part, the sausage, also used with ellipses. To be honest, all of these shapes are made of circles, but this proves that you can make any shapes with this basic shapes. The spoon and knife were also made with ellipses. Now here is the code. background(255, 255, 255);
fill(255, 255, 255); ellipse(200, 199, 350, 350); // plate fill(250, 252, 229); ellipse(199, 249, 259, 163); // EGG fill(214, 77, 77); ellipse(201, 112, 234, 54); //SAUSAGE fill(242, 242, 5); ellipse(195, 250, 100, 101); // YOLK fill(240, 229, 29); ellipse(54,135,44,43); fill(0, 0, 0); ellipse(54, 229, 11, 150); fill(184, 77, 77); ellipse(354, 229, 17, 212); fill(179, 125, 125); ellipse(346,173,33,118);
0 Comments
Leave a Reply. |
AuthorI want to achieve a goal to make sure that people will learn the basics on some of the games I play. Archives
May 2019
Categories
All
|