Create the circle image but the lines seem to appear behind the red square. Can someone help
No answer yet for this question.
Ask a Tutor
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 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);
}
CoursHeroTranscribedText
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date: