<script>
var pantalla = document.querySelector("canvas");
var fugura = pantalla.getContext("2d");
fugura.fillRect(0,0,600,400);
function drawcircle(x, y, radio, color) {
fugura.fillStyle = color;
fugura.beginPath();
fugura.arc(x,y,radio,0,2*3.14);
fugura.fill();
}
drawcircle(300,200,10,"blue")
drawcircle(300,180,10,"yellow")
drawcircle(290,190,10,"green")
drawcircle(280,180,10,"grey")
drawcircle(280,200,10,"purple")
</script>