While creating this self-portrait of myself by coding on Kahn Academy, I have learned plenty of things. Things such as going deeper into computer science and how they all work out perfectly together. Furthermore, I have also learned that coding is not actually very simple. The possibilities with coding is endless, which makes it harder to figure out what you want on your code exactly. Overall, coding this picture was actually very entertaining, and I wish to do it again sometime! // hair
fill(0, 0, 0); rect(100, 21, 195,366, 210); // face fill(255, 234, 194); ellipse(198, 200, 170, 275); //eyebrows stroke(48, 23, 5); arc(160, 155, 34, 10, 180, 360); arc(236, 155, 34, 10, 180, 360); // eyes fill(43, 30, 3); ellipse(164, 166, 13, 13); ellipse(235, 166, 13, 13); //smile stroke(255, 120, 120); noFill(); arc(200, 270, 61, 40, 10, 180); //nose strokeWeight(2); noFill(); beginShape(); curveVertex(210, 180); curveVertex(220, 214); curveVertex(210, 260); curveVertex(50, 180); endShape(); //shirt fill(160, 19, 242); rect(130,340,135,138);
0 Comments
|
Archives
May 2021
Categories
All
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. |