Tuesday, June 20, 2017

the hour of code- Drawing with code


Hi and welcome back to our blog! Today we will be talking about Khan Academy!We are sure you dont know what it is so we are going to explaine it to you. It is a platform that was created by Salman Khan in 2006. We use it to learn. Each student has an account. Our first exercise was called: The hour of code- drawing with code. There are different steps you have to achieve, like challenges and projects. When you finish them, you can earn badges and energy points. It is like a game! There are also videos, that explain you how to do each activity.

Khan Academy works like this: first yo watch the video that explains you how to do something. Then you have a challenge where you use what you leaned with the video. When you have done this several times with different activities, then you have to do a project!

Challenge:

Our first challenge was to create a simple snowman. Khan Academy gives you the three first ellipses. Then you complete the snowman with elements and codifications that you learned how to use in the video.  
This is the code we used to create the image. 

            
And this is how the simple snowman looks.

Project:
Once you have done the activities that Khan Academy offers to you, you should use all your knowledge about the topic and create a project. You have the option to choose between the three projects that appear below.
We picked up the Super Snowman Project. Doing the project was more complex than working on the challenges, because we had to use more comands and it took much time. Once the project is done you earn more energy points than in a normal challenge



As you can see we used several comands, which are concepts that we learn in class to achieve our goal. Some important concepts are the following:
"rect'' to built the floor
"ellipse'' it is composed with 4 different numbers; the first two are for 2 are for "x" and "y" and the other 2 are for the "width" and "height"( the rect works the same). We built the sowman with the ellipse.
For the nose we used the term "triangle" to make it work we had to use the following instructions.
x1  the x-coordinate of the first vertex
y1  the y-coordinate of the first vertex
x2  the x-coordinate of the second vertex
y2  the y-coordinate of the second vertex
x3  the x-coordinate of the third vertex
y3  the y-coordinate of the third vertex
"fill" set the fill color for shapes
"strokeWeight" Change the thickness of lines and outlines
This are the most important concepts for us.

Badges and energy points:

Badges are awards that you get.
There are six different badges: "Challenge Patches'' as you can see we have 4 of them,"Black Hole Badges'' it is the most strange award, "Sun Badge'' is very difficult to earn. There are the "Earth Badges'' and the "Moon Badges'' for earning those badges your knowledge about Kahn Academy has to be very specific, and for the end there are the "Meteorite Badges'' we have 3 of them.
Here you can see how they look:
You earn energy points watching videos, achievig challenges and working on projects.

When you achieve the goal, there will appear this:

So, if you have any doubts, maybe you can look at this video that introduces you to the topic.



Stay tunned!

No comments:

Post a Comment