<canvas width="600" height="400" ></canvas>
<script>
var pantalla=document.querySelector("canvas");
var figure=pantalla.getContext("2d");
//cabeza
figure.fillStyle = 'darkgreen';
figure.fillRect(0, 0, 350 ,300);
//ojos
figure.fillStyle = 'black';
figure.fillRect(50,60,90,90);
figure.fillRect(210,60,90,90);
//nariz
figure.fillRect(140,150,70,100);
//boca
figure.fillRect(100,190,40,110);
figure.fillRect(210,190,40,110);
</script>