<meta charset="UTF-8">
<canvas width="600" height="400"></canvas>
<script>
var canvas = document.querySelector("canvas");
var brush = canvas.getContext("2d");
function circle(x, y, raio, colour) {
brush.fillStyle = colour;
brush.beginPath();
brush.arc(x, y, raio, 0, 2*3.14);
brush.fill();
}
circle(300, 200, 20, "brown");
circle(340, 200, 20, "yellow");
circle(300, 240, 20, "yellow");
circle(260, 200, 20, "yellow");
circle(300, 160, 20, "yellow");
</script>