Search code examples
iphoneobjective-cipad

animation: make water wave


I would like to build a simple animation for a school project.

I want to make water wave within a box in such a way that tilting the device causes the water to wave in a direction rather the other.

Is there a sample from where I can start to create such effect? Any help is super appreciated.

Thx, mE


Solution

  • I once did a water project for an animation class... one site that I relied on as a reference was here, and in particular, this article on wave rendering, which is generally good in its discussion of refraction.