Thursday, October 3, 2019

Shapes



 // main mellon

context.beginPath();

context.arc(400,300,280, 0*Math.PI, 1*Math.PI,false);


context.closePath();

context.lineWidth = 10;

context.strokeStyle = "green"

context.stroke();


context.fillStyle = "pink";

context.fill()


///// seeds
context. beginPath();
context.arc(400,400,5,0, 2*Math.PI,false);
context.strokeStyle = "black"
context.stroke();

context. beginPath();
context.arc(159,337,5,0, 2*Math.PI,false);
context.strokeStyle = "black"
context.stroke();

context. beginPath();
context.arc(250,480,5,0, 2*Math.PI,false);
context.strokeStyle = "black"
context.stroke();


 context. beginPath();
context.arc(245,389,5,0, 2*Math.PI,false);
context.strokeStyle = "black"
context.stroke();


context. beginPath();
context.arc(474,327,5,0, 2*Math.PI,false);
context.strokeStyle = "black"
context.stroke();

 context. beginPath();
context.arc(445,517,5,0, 2*Math.PI,false);
context.strokeStyle = "black"
context.stroke();


context. beginPath();
context.arc(566,425,5,0, 2*Math.PI,false);
context.strokeStyle = "black"
context.stroke();


context. beginPath();
context.arc(643,332,5,0, 2*Math.PI,false);
context.strokeStyle = "black"
context.stroke();

No comments:

Post a Comment

Portfolio