+ 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
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)