Sure there is, though my initial hunch is that it may be a bit more complex than necessary for your particular needs.
FWIW, this reminds me of a thread where someone wanted an interesting tree/wind effect, maybe you find it useful:
Wind effect at runtime.