<canvas width="600" height="400">
</canvas>
<script>
var pantalla = document.querySelector("canvas");
var pincel = pantalla.getContext("2d");
pincel.fillStyle = "green";
pincel.fillRect(0,0,350,300); //cabeza
pincel.fillStyle = "black";
pincel.fillRect(50,60,90,90); //ojo
pincel.fillStyle = "black";
pincel.fillRect(210,60,90,90); //ojo
pincel.fillStyle = "black";
pincel.fillRect(139,150,70,100); //nariz
pincel.fillStyle = "black";
pincel.fillRect(209,200,40,100); //boca izquierda
pincel.fillStyle = "black";
pincel.fillRect(99,200,40,100); //boca derecha
</script>