animate_decay.py example code is less complicated
Merge pull request #3625 from horvatha/master

animate_decay.py example code is less complicated