⚝
One Hat Cyber Team
⚝
Your IP:
18.219.195.35
Server IP:
162.254.39.145
Server:
Linux premium289.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib64
/
python3.8
/
turtledemo
/
__pycache__
/
View File Name :
planet_and_moon.cpython-38.opt-1.pyc
U e5d � @ s` d Z ddlmZmZmZmZ dZG dd� de�Z G dd� de�Z dd � Zed kr\e� e� dS )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. � )�Shape�Turtle�mainloop�Vec2D� c @ s$ e Zd Zdd� Zdd� Zdd� ZdS )�GravSysc C s g | _ d| _d| _d S )Nr g{�G�z�?)�planets�t�dt)�self� r �2/usr/lib64/python3.8/turtledemo/planet_and_moon.py�__init__ s zGravSys.__init__c C s | j D ]}|�� qd S )N)r �init)r �pr r r r s zGravSys.initc C s6 t d�D ](}| j| j7 _| jD ]}|�� q"qd S )Ni'