Look at the orbit function in this class: http://code.google.com/p/ooas/source...imator.as?r=19