I drew a frog and I drew it because I didn't know what do draw so I randomly drew something and it turned out to be a frog. I made it using code and using different shapes and colors to form a kind of picture. I learned how to do more complex types of coding through the Hour of Code and it was awesome. Some challenges I had to overcome were the legs overlapping the head and I fixed it by reprogramming the code and changing things. I think overall, this experience was good and I would do a Hour of Code again. Code:
background(105, 105, 240); fill(0, 110, 7); //legs ellipse(50, 300, 100, 90); ellipse(350, 300, 100, 90); //face fill(6, 117, 0); ellipse(200, 220, 300, 300); //eyes fill(255, 255, 255); ellipse(250, 200, 100, 100); ellipse(150, 200, 100, 100); //pupil fill(0, 0, 0); ellipse(150, 200, 25, 25); ellipse(250, 200, 25, 25); //arms fill(0, 117, 37); ellipse(100, 360, 100, 90); ellipse(300, 360, 100, 90); //mouth ellipse(200, 315, 100, 20); //tongue fill(184, 0, 0); ellipse(200, 350, 30, 90);
0 Comments
|
AuthorHello! My name is Jun and I'm the author of this page. hope you have a great time! CategoriesArchives
May 2019
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. |