Sunday, December 22, 2013

Sam's First Coding Experience

We're going to do a more extensive post later on regarding most of 2013, but Sam (now age 9) wanted us to put this up so that he could share his first coding experience.  It's from Khan Academy, which he really likes so far.  This specific one is the hour of coding.

It's the Three Snowmen wishing you all a Happy Holidays!


Here's the coding behind it:

fill(68, 117, 0);
textSize(25);
text("Happy Holidays, Everybody!", 49, 56);
noFill();
ellipse(52, 133, 10, 10);
ellipse(77, 133, 10, 10);
ellipse(182, 133, 10, 10);
ellipse(206, 133, 10, 10);
ellipse(313, 133, 10, 10);
ellipse(337, 133, 10, 10);



ellipse(64, 312, 100, 100);
ellipse(64, 219, 86, 86);
ellipse(64, 141, 70, 70);
ellipse(195, 312, 100, 100);
ellipse(195, 219, 86, 86);
ellipse(195, 141, 70, 70);
ellipse(325, 312, 100, 100);
ellipse(325, 219, 86, 86);
ellipse(325, 141, 70, 70);

fill(0, 0, 0);
ellipse(64, 190, 10, 10);
ellipse(64, 215, 10, 10);
ellipse(64, 243, 10, 10);
ellipse(195, 190, 10, 10);
ellipse(195, 215, 10, 10);
ellipse(195, 243, 10, 10);
ellipse(325, 190, 10, 10);
ellipse(325, 215, 10, 10);
ellipse(325, 243, 10, 10);

noFill();
ellipse(200, 50, 385, 70);

line(103, 127, 152, 82);
line(240, 127, 256, 82);
line(286, 127, 249, 82);

ellipse(194, 159, -27, 15);
ellipse(65, 159, -27, 15);
ellipse(325, 159, -27, 15);
fill(0, 255, 140);
textSize(25);
text("From the Elliss family.", 49, 387);