# Moving two Spheres in the Opposite Direction [closed]

We know that we can achieve to a box contained two spheres by the code:

Graphics3D[Table[Sphere[{i, Mod[i^2, 10], Mod[i^3, 12]}], {i, 2}]]


How can the left sphere move in a vector path to the right of the box and the right one move to the left of the box simultaneously?

-

## closed as too broad by Öskå, m_goldberg, RunnyKine, rasher, bobthechemistJul 11 at 0:00

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.

That is I'm afraid a huge work :) Have you tried anything? –  Öskå Jul 10 at 13:50
Unfortunately No, I just wanted to simulate moving gas molecules in a box. –  mostafa Jul 10 at 13:52
Do they need to bounce as well? –  Öskå Jul 10 at 13:54
And I guess two balls can't intersect? –  Öskå Jul 10 at 13:58