<canvas width="600" height="400" id="lienzo">
</canvas>
<script>
var pantalla = document.querySelector('#lienzo');
var pincel = pantalla.getContext('2d');
//Cabeza
pincel.fillStyle = '#006400';
pincel.fillRect(0,0,350,300);
//Ojo1
pincel.fillStyle = 'black';
pincel.fillRect(40,50,90,90);
//Ojo2
pincel.fillStyle = 'black';
pincel.fillRect(200,50,90,90);
//Nariz
pincel.fillStyle = 'black';
pincel.fillRect(130,140,70,100);
//Rect1
pincel.fillStyle = 'black';
pincel.fillRect(100,190,40,110);
//Rect2
pincel.fillStyle = 'black';
pincel.fillRect(190,190,40,110);
</script>