Last Month we have been working with Khan Academy. Khan Academy is an educational organization created by Salman Khan in 2006. Khan Academy can teach you many subjects like Maths, Science, Economy and Computing.
In our case, we used it to learn how to draw things with codes. We used the codes to draw a lot of shapes, like circles, triangles and lines. With this shapes we could draw figures, like a snowman, a wild animal or make a self portrait.
In this post we will explain how we worked with codes to draw things, and we will try how Khan Academy works.
Here is a example of a Draw with Codes. |
Now we will learn how to draw a snowman using codes.
First, we will draw the background, for that, we need to write "Background", and a parenthesis, like this:
The next thing we will do is draw the sun. For that, we need to use a "ellipse". For drawing the snowman, we need more "ellipses", and also "rects and lines", for the eyes. And "Arcs" for the smiles.
Also we are going to do a Scarf. For that, we need a "Bezier".
For the colors we are going to use "fill". With the code "fill" we can fill the ellipse, rect, etc, with the colours thet we want.
And thats all that we can explain of the "Hour of Code". Here we leave a example of a Draw with Codes and a Tutorial, that will help you, if you need more info, about the codes.
Example of a Draw with codes. |
A simple Tutorial.
A longer, and with more info, Tutorial.
Federico Balberde and Nicolas Block.
No comments:
Post a Comment