<canvas width="600" height="400"> </canvas>
<script>
var pantalla = document.querySelector("canvas");
var pincel = pantalla.getContext("2d");
pincel.fillStyle = "darkgreen"; //cabeza
pincel.fillRect(0,0,350,300);
pincel.fillStyle = "black"; //ojo 1
pincel.fillRect(40,70,90,90);
pincel.fillStyle = "black"; //ojo 2
pincel.fillRect(200,70,90,90);
pincel.fillStyle = "black"; //nariz
pincel.fillRect(130,160,70,100);
pincel.fillStyle = "black"; //boca 1
pincel.fillRect(90,190,40,110);
pincel.fillStyle = "black"; //boca 2
pincel.fillRect(200,190,40,110);
</script>