Friday, July 2, 2010

Animating ASCII Water Ripples

See rec.games.roguelike.development for an explanation of my algorithm.
The results are reasonably pleasing. The wave interference passes at a glance. Here the effect can be seen in the hotel pool:
The aqua ~'s expand in a random blob shape outwards, and interact with other ripples.


Improvements are still needed. Large areas with many ripples bottlenecks, but this can be alleviated by giving ripples a certain lifetime rather than permitting them to expand until they exhaust the body of water. Tomorrow I shall try to connect more of the hotel and work on guest pathing behavior. Excitement soon!

No comments:

Post a Comment