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. 




computer 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
Get step-by-step solutions from verified subject matter experts
