<canvas width="600" height="400"> </canvas>
<script>
var pantalla = document.querySelector("canvas");
var pincel = pantalla.getContext("2d");
//cara
pincel.fillStyle = "darkgreen";
pincel.fillRect(0,0,600,400);
//ojo 1
pincel.fillStyle = "black";
pincel.fillRect(135,40,110,110);
//ojo 2
pincel.fillStyle = "black";
pincel.fillRect(345,40,110,110);
//nariz
pincel.fillStyle = "black";
pincel.fillRect(245,150,100,120);
//boca1
pincel.fillStyle = "black";
pincel.fillRect(200,195,50,130);
//boca2
pincel.fillStyle = "black";
pincel.fillRect(345,195,50,130);
</script>