I'm not sure I've coded something like this for Aum. Try searching for "ball" in Andreas' Aum index:

Aum index