Unless the balls do more complicated things, I think representing each with its own thread is overkill.
The code that I have posted is just a humble starter's attempt at creating an animation with multiple threads, I intend to work my way up with somewhat complex animation...
Here is another excuse for a code that I have written for an animation involving multiple threads.
I fail to understand the output i.e., why don't I see 2 separate balls moving ? Why is there only 1 ball visible at any given time ?