Question: Create the circle image but the lines seem to appear behind the red square. Can someone help using the code below to draw the circle

Create the circle image but the lines seem to appear behind the red square. Can someone help using the code below to draw the circle with a for loop of lines over it using p5.js. 


//draw circle

circle(110,85,105);


//parallel line

for(i =x, j=y;i>=3;i=i-3){

stroke(color_yellow);

strokeWeight(0.8);

line(i, j, i, length+10);

}

Create the circle image but the lines seem to appear behind the

CoursHeroTranscribedText

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!