There was an idea to write a simple program for displaying the interaction of three "points" on the screen (Visualization of the imitation of the gravitational interaction of three bodies) with the line drawn behind the dots.
There are many versions and opinions which is better and more convenient. But I am interested in the functionality associated with the very primitive actions that I described above.