Press X or drag with mouse to generate ripples.
Multiple variations for a ripple effect, made in the TIC-80 fantasy console with this tutorial.
Source code included, feel free to use in your personal projects!
The basic version.
Basic version in half the resolution to lighten the calculation (this is the one that is embedded to the top of this page!)
I wanted to model waves bouncing off each other, so - math alert - a time derivative of the wave amplitude is used to calculate a sine component to make the amplitude negative at times... It almost works!
The waves have a nice digital tail, which is a e s t h e t i c a l, so I included it here.
Same as above, but in half the resolution. Halving the resolution was even more important than in the basic version - now I had to store not only two states of the amplitude but its derivative as well.
Click download now to get access to the following files:
Leave a comment
Log in with itch.io to leave a comment.