<canvas width="600" height="400"> </canvas>
<script>
var pantalla = document.querySelector("canvas");
var pincel = pantalla.getContext("2d");
pincel.fillStyle = "darkgreen"
pincel.fillRect (100,100,350,300);
pincel.fillStyle = "black"; //ojo izquierdo
pincel.fillRect (140,150,100,100);
pincel.fillStyle = "black"; //ojo derecho
pincel.fillRect (300,150,100,100);
pincel.fillStyle = "black"; //nariz
pincel.fillRect (240,250,60,90);
pincel.fillStyle = "black";
pincel.fillRect (190,295,50,105);
pincel.fillStyle = "black";
pincel.fillRect (300,295,50,105);