top of page
Blog: Blog2
Search

Maze - p5.js Sketch #2

  • Writer: anmonaco
    anmonaco
  • Dec 8, 2018
  • 1 min read

Updated: Dec 9, 2018

Our assignment was to create an inter active sketch using functions. I created a maze using the move mouseX and mouseY functions and drew out all the lines. I used the random function for the ball and parameters so the ball couldn't leave the maze.

The most challenging thing about this sketch was coming up with the idea for a challenging maze, and then putting the lines in the specific places I wanted them. It was difficult to space out all of the lines, but I eventually figured it out so it would look good.

Here is a link to my sketch: https://editor.p5js.org/anna10128/sketches/Bkq-YsyCQ


 
 
 

留言


©2018 by Anna Monaco. Proudly created with Wix.com

  • facebook
  • twitter
  • linkedin
bottom of page