Question: Only need help with pattern 4. I am trying to get my canvas drawing to work like pattern 4 in assingment 5, like attached photo.

Only need help with pattern 4. I am trying to get my canvas drawing to work like pattern 4 in assingment 5, like attached photo. However, my code does not work, it only works like the attahced photo, the cat one. could i get some guidance as to what i did wrong and how to make it look like pattern 4. Thanks. Only need help with pattern 4. I am trying to get mycanvas drawing to work like pattern 4 in assingment 5, like attachedphoto. However, my code does not work, it only works like theattahced photo, the cat one. could i get some guidance as towhat i did wrong and how to make it look like pattern4. Thanks. computer science, programming. This is in javascript, using Canvas Patterncomputer science, programming. This is in javascript, using Canvas

Pattern 4 Assignment 5 ** Pattern 1 Pattern 2 Pattern 3 Pattern 4 Pattern 5 } //draws pattern four function patternFour(){ ctx.clearRect(0,0,400,400); let x = 200; let y = 200; let space = -75; ctx.save(); ctx.translate(x,y); for(let i = 0; i

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 Databases Questions!