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.

Animation Examples

Comments

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

Comments are powered by the Happy Coding forum. This page has a corresponding forum post, and replies to that post show up as comments here. Click the button above to go to the forum to post a comment!