Examples / p5.js Examples / / Random Walker

Random Walker

example p5.js javascript animation

This sketch moves a point around the screen randomly, creating a colorful scribble effect.

random walker

Remix Ideas

  • Change what happens when the point goes off the edge of the screen.
  • Instead of including every random color, make your point a random shade of red or gray.
  • Reset the point after a certain number of steps.

Comments and Questions

Happy Coding is a community of folks just like you learning about coding.
Do you have a comment or question? Post it here!