Python animation in Blender
The scene contains a field of cubes, that grow or shrink depending on the distance between itself and a (non-rendered) sphere in the scene. These heights are calculated each frame through a Python script (Text.py) found in the scripting tab. Also you find a Python script (Text) that can be used to Render each frame in the animation and execute script #1 on it.
Enjoy. Drop me a msg if you have any questions.