<canvas width="600" height="400"></canvas>
<script>
let pantalla = document.querySelector("canvas");
let pincel = pantalla.getContext("2d");
pincel.fillStyle = "lightgray";
pincel.fillRect(0, 0, 600, 400);
function circulos(x,y,radio,color){
pincel.fillStyle = color;
pincel.beginPath();
pincel.arc(x,y,radio,0,2*3.14);
pincel.fill();
}
function flor(x,y){
circulos(x, y-60, 30,"violet");
circulos(x-60, 200, 30,"pink");
circulos(x, y, 30,"white");
circulos(x+60, 200, 30,"fuchsia");
circulos(x, y+60, 30,"purple");
}
flor(300,200);
</Script>