Understanding Water Ripple Behavior

  • Thread starter Thread starter Kirl
  • Start date Start date
  • Tags Tags
    Water
AI Thread Summary
To create a procedural 2D water ripple effect for a game, key factors include the volume and weight of the object impacting the water, which influence wave height. The speed of the waves is determined by the medium and the energy of the impact. The decay rate of wave height and length can be modeled using physics principles, with subsequent waves typically being smaller than the initial wave. Researching "gravity waves" can provide essential insights into these dynamics. Understanding these elements will enhance the realism of the ripple effect in the game.
Kirl
Messages
8
Reaction score
0
Hi,

I am trying to code the behaviour of a 2d water ripple, like when something falls into or onto the water, it is for a game so it doesn't have to be exact but I want it to be procedural instead of a fixed wave. So I like to know several things:

What determines the height of the waves? (probably volume + weight of object dropped?)

What determines the speed of the waves?

What is the decaying rate of the waves length and height. By how much is the second wave smaller then the first etc?

Any kind of help is greatly apriciated!
 
Physics news on Phys.org
Study up on 'gravity waves'. That should give you all the rules you require.

desA
 
Ah, the right search term brought up some usefull results, thanks a lot.
 
Thread 'Variable mass system : water sprayed into a moving container'
Starting with the mass considerations #m(t)# is mass of water #M_{c}# mass of container and #M(t)# mass of total system $$M(t) = M_{C} + m(t)$$ $$\Rightarrow \frac{dM(t)}{dt} = \frac{dm(t)}{dt}$$ $$P_i = Mv + u \, dm$$ $$P_f = (M + dm)(v + dv)$$ $$\Delta P = M \, dv + (v - u) \, dm$$ $$F = \frac{dP}{dt} = M \frac{dv}{dt} + (v - u) \frac{dm}{dt}$$ $$F = u \frac{dm}{dt} = \rho A u^2$$ from conservation of momentum , the cannon recoils with the same force which it applies. $$\quad \frac{dm}{dt}...
Back
Top