Help me fix this simple p5.js code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Help me fix this simple p5.js code

I am new to p5.js and made my first code in it but it is not working as expected, so help me fix my p5.js code. Here is the code: https://code.sololearn.com/WWr49SPsIun7/?ref=app

12th Jan 2022, 4:41 PM
Arnav Gumber
Arnav Gumber - avatar
1 Answer
+ 1
here's my attempt https://code.sololearn.com/WXsL5i9ONulu/?ref=app I made it smaller for mobile screen you can adjust the size of the canvas to your preference. I added two variables, vd (vertical ) hd(horizontal)
13th Jan 2022, 1:01 AM
Bahhaⵣ
Bahhaⵣ - avatar