dynamically drawing ball