drawing balls and displaying ball image