Help modifying existing code - Water simulation
in
Programming Questions
•
6 months ago
Hello Processing community,
I would like to implement a modified version of this code:
http://www.openprocessing.org/sketch/43543
I know I need an underlying image to load the pixels to manipulate.
However, I'd like to only draw the image when it appears under the ripple, otherwise the background is black.
I'm not sure how to wrap my head around this one, conceptually. Any tips or pointers?
The code is below for reference.
Thank you!
*EDIT* For some reason I can't include the code here due to "max limit exceeded." I hope it isn't to much trouble to follow the link above. Sorry for that.
1