Mouse Ripple

Mouse Ripple

January 10, 2021

example p5.js javascript input

This sketch shows a ripple effect when you click the mouse.

mouse ripple

Remix Ideas

  • Give each new circle a random color.
  • Make the ripple look more like a drop of water falling into a lake.
  • Add support for multiple ripples at the same time.

Input Examples


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!