<canvas width="600" height="400" id="panel1"></canvas>
<script>
var pantalla = document.querySelector("#panel1");
var pincel = pantalla.getContext("2d");
//cabeza
pincel.fillStyle = "darkgreen"
pincel.fillRect(0,0,350,300);
//ojos
pincel.fillStyle = "black";
pincel.fillRect(50,55,90,90);
pincel.fillRect(50+90+70,55,90,90);
//nariz
pincel.fillRect(50+90,55+90,70,100);
//patas
pincel.fillRect(100,190,40,110);
pincel.fillRect(100+40+70,190,40,110);
</script>