What is a decent model for showing how gravity and large objects impacts other bodies in space?

A good model for showing how gravity and large objects impact other bodies in space is the N-body simulation. This simulation uses Newton's laws of motion and gravity to simulate the motion of multiple objects in space, such as stars, planets, and asteroids. It can be used to show how the gravitational pull of a large object, such as a star, affects the motion of other objects in its vicinity.