Winston

Winston is a character invented by Jessica Liu that has since become somewhat of a symbol within Khan Academy Computer Science. Winston first appeared in the Intro to variables coding tutorial. Winston has been featured in multiple computer science tutorials and user created programs.

After multiple requests from K.A. users, Winston was made an image along with Error Buddy and a baby version of Winston.

On January 22, 2014, Winston was made into an avatar.

How to unlock Winston
You must edit one of your programs or make changes to it after creating it.

How to code him
var drawWinston = function {

var faceX = 202;

var faceY = 208;

fill(255, 255, 0);

ellipse(faceX, faceY, 300, 300); // face

fill(46, 46, 41);

ellipse(faceX - 45, faceY - 57, 40, 40); // eyes

ellipse(faceX + 102, faceY - 66, 40, 40);

fill(252, 65, 65);

ellipse(faceX + 55, faceY + 32, 120, 136); // mouth

};

Another way to code him
var Winston = getImage("creatures/Winston");

image(Winston, 200, 200, 50,50);

Still Another Way
var faceX = 202;

var faceY = 208;

fill(255, 255, 0);

ellipse(faceX, faceY, 300, 300); // face

fill(46, 46, 41);

ellipse(faceX - 45, faceY - 57, 40, 40); // eyes

ellipse(faceX + 102, faceY - 66, 40, 40);

fill(252, 65, 65);

ellipse(faceX + 55, faceY + 32, 120, 136); // mouth