python (3.11.7)
    e	                         d Z ddlmZmZmZmZ dZ G d de          Z	 G d de          Z
d Zed	k    r e              e             d
S d
S )a         turtle-example-suite:
        tdemo_planets_and_moon.py
Gravitational system simulation using the
approximation method from Feynman-lectures,
p.9-8, using turtlegraphics.
Example: heavy central body, light planet,
very light moon!
Planet has a circular orbit, moon a stable
orbit around the planet.
You can hold the movement temporarily by
pressing the left mouse button with the
mouse over the scrollbar of the canvas.
    )ShapeTurtlemainloopVec2D   c                        e Zd Zd Zd Zd ZdS )GravSysc                 0    g | _         d| _        d| _        d S )Nr   g{Gz?)planetstdt)selfs    N/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/turtledemo/planet_and_moon.py__init__zGravSys.__init__   s        c                 B    | j         D ]}|                                 d S )N)r   init)r   ps     r   r   zGravSys.init   s,     	 	A
FFHHHH	 	r   c                     t          d          D ]5}| xj        | j        z
  c_        | j        D ]}|                                 6d S )Ni'