top of page

Assignment 9: Maze P5 drawing

Link to play : https://editor.p5js.org/nvillota/present/JmqUmx62e

*Click on the screen when the page pops up*

This project is a maze. There's a starting point and an ending point. You have to see how many different ways you can get through the maze. This assignment was the hardest out of all of them because of some issues I faced. I had my idea all set but it kept telling me that there was something wrong with the code and I couldn't figure out what it was. I used codes you included in the video meetings so I didn't understand why it wasn't working. I then played around with it and deleted some brackets and it ended up working. 

Screen Shot 2020-04-21 at 4.57.23 AM.png

This is what the drawing looked like. It only worked when I got rid of the background and when I had the background the circle wouldn't draw.

Screen Shot 2020-04-21 at 4.56.17 AM.png

This is what first part of the code was

Screen Shot 2020-04-21 at 4.56.31 AM.png

This is the second part of the code

Screen Shot 2020-04-21 at 4.57.08 AM.png

This is where my main problem seemed to be. When I had a bracket after the ellipse, it would say error and when I deleted, it would go back to the same drawing but still wouldn't help my issue.

Screen Shot 2020-04-21 at 5.26.34 AM.png

I eventually was able to get the drawing I needed after I deleted some brackets thatI guess weren't needed.

bottom of page