Tiffany's Blog |
In Hour of Code, I used Khan Academy to use code to draw a picture, I drew a panda, and some shapes I used was ellipse, rectangles, and an arc for the mouth. I learned a lot because before I didn't know how to code at all, so I learned everything I did here, like the numbers for the size of the shape, the x and y numbers, and also coloring shapes, and removing and adding borders. I think that I still can definitely improve in my numbers because many times, I just add random numbers and move them around, and I don't exactly know or memorized any of the numbers I should use. background(131, 247, 131);
noStroke(); fill(102, 65, 65); rect(-2, 342, 404, 58); fill(48, 38, 38); ellipse(93, 90, 47, 53); //ears ellipse(291, 81, 47, 53); fill(250, 247, 247); ellipse(200, 200, 272, 300); //Face fill(59, 50, 50); ellipse(263, 163, 74, 96); //Big Eye (black) ellipse(131, 165, 74, 107); fill(227, 220, 220); ellipse(200, 235, 136, 143); //small circle fill(148, 78, 110); ellipse(200, 221, 72, 32); //nose fill(36, 36, 36); ellipse(131, 164, 25, 32); //Eye ellipse(254, 164, 25, 32); fill(250, 250, 250); ellipse(131, 161, 7, 13); //Pupil ellipse(253, 164, 7, 13); fill(245, 245, 245); ellipse(200, 412, 308, 200);//Body ellipse(34, 352, 116, 199);//hands ellipse(339, 352, 116, 199); fill(133, 121, 121); rect(20, 277, -9, 28);//small rectangles rect(39, 272, -9, 33); rect(59, 283, -9, 25); rect(320, 277, -9, 28); rect(339, 272, -9, 33); rect(360, 283, -9, 25); arc(203, 275, 54, 41, 9, 186); //mouth
0 Comments
Leave a Reply. |
Archives
September 2018 Categories
All
|