Olá,
Compartilho o desenho centralizado no canvas.
<canvas width="600" height="400"></canvas>
<script>
// Variables required
var screen = document.querySelector('canvas');
var brush = screen.getContext('2d');
// Draw
// Background
brush.fillStyle = 'lightgrey';
brush.fillRect(0, 0, 600, 400);
// Rect-head
brush.fillStyle = 'darkgreen';
brush.fillRect(125, 50, 350, 300);
// Rect-face
brush.fillStyle = 'black';
// Rect-lefteye
brush.fillRect(175, 110, 90, 90);
// Rect-righteye
brush.fillRect(335, 110, 90, 90);
// Rect-midmouth
brush.fillRect(265, 200, 70, 100);
// Rect-nose
brush.fillRect(225, 240, 40, 110);
// Rect-rightmouth
brush.fillRect(335, 240, 40, 110);
</script>