I can not find the image (there is no attachment).
Are you using EJS to create simulation?

You need to describe your physics model and how you are going to do.
Otherwise, I do not know how to help!