<canvas width="600" height="400"></canvas>
<script>
var tela = document.querySelector("canvas");
var pincel = tela.getContext("2d");
function montar (color,x,y,l,h){
pincel.fillStyle = color;
pincel.fillRect (x,y,l,h);
}
//cabeça
montar("darkgreen",0,0,350,300);
//olhos
montar("black",50,60,90,90);
montar("black",210,60,90,90);
//nariz
montar("black",140,150,70,100);
//boca
montar("black",210,190,40,110);
montar("black",140,190,-40,110);
</script>