Added source of the 'ball' demo.