|
Server IP : 111.118.215.156 / Your IP : 216.73.216.76 Web Server : Apache System : Linux md-in-26.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : azasoqqa ( 1858) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /lib64/python2.7/Demo/turtle/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
�
���ic @ s� d Z d d l m Z m Z m Z m Z d d l m Z d Z d e
f d � � YZ d e f d � � YZ d � Z
e d
k r� e
� Z e GHe � n d S( s� 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 mouse over the
scrollbar of the canvas.
i����( t Shapet Turtlet mainloopt Vec2D( t sleepi t GravSysc B s# e Z d � Z d � Z d � Z RS( c C s g | _ d | _ d | _ d S( Ni g{�G�z�?( t planetst tt dt( t self( ( s9 /usr/lib64/python2.7/Demo/turtle/tdemo_planet_and_moon.pyt __init__ s c C s"