D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
python35
/
lib
/
python3.5
/
turtledemo
/
__pycache__
/
Filename :
planet_and_moon.cpython-35.opt-1.pyc
back
Copy
q��Y � @ s� d Z d d l m Z m Z m Z m Z d d l m Z d Z Gd d � d e � Z Gd d � d e � Z d d � Z e d k r� e � e � 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. � )�Shape�Turtle�mainloop�Vec2D)�sleep� c @ s4 e Z d Z d d � Z d d � Z d d � Z d S)�GravSysc C s g | _ d | _ d | _ d S)Nr g{�G�z�?)�planets�t�dt)�self� r �./opt/python35/lib/python3.5/planet_and_moon.py�__init__ s zGravSys.__init__c C s"