Examples / p5.js Examples / / Poorly Coded Cats

Poorly Coded Cats

example p5.js javascript images

Inspired by this tweet:

This code takes the original cat image and uses it as a randomly colored stamp.

Click here to edit this code in the p5.js editor.

colorful cats filling the screen black and white cats filling the screen transparent cats filling the screen red and blue cats filling the screen

Remix Ideas

  • Change the color of the cats. What if every cat is a shade of green?
  • Rotate the cat before you stamp it
  • Fill a cat with a random walker
  • Use a different image as a stamp

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!