<canvas width="600" height="400"> </canvas>
<script>
var pantalla = document.querySelector("canvas");
var pincel=pantalla.getContext("2d");
pincel.fillStyle= "lightgray";
pincel.fillRect(0,0,600,400);
function dibCirculo(x,y,radio,color) {
pincel.fillStyle= color;
pincel.beginPath()
pincel.arc(x,y,radio,0,2*(Math.PI));
pincel.fill();
}
dibCirculo(300,200,50,"darkred");
dibCirculo(300,100,50,"yellow");
dibCirculo(300,300,50,"blue");
dibCirculo(200,200,50,"orange");
dibCirculo(400,200,50,"black");
</script>