403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.51
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Python313/Lib/turtledemo/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python313/Lib/turtledemo/__pycache__/planet_and_moon.cpython-313.opt-1.pyc
�

��ix���SrSSKJrJrJrJr Sr"SS\5r	"SS\5r
Sr\S	:Xa\"5 \"5 g
g
)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�&�\rSrSrSrSrSrSrg)�GravSys�c�.�/UlSUlSUlg)Nrg{�G�z�?)�planets�t�dt)�selfs �/C:\Python313\\Lib\turtledemo\planet_and_moon.py�__init__�GravSys.__init__s�����������c�J�URHnUR5 M g)N)r�init)r�ps  rr�GravSys.inits�����A�
�F�F�H�rc��[S5HEnU=RUR-
slURHnUR	5 M MG g)Ni')�ranger
rr�step)r�irs   r�start�
GravSys.start s9���u��A��F�F�d�g�g��F��\�\������"�r)rrr
N)�__name__�
__module__�__qualname__�__firstlineno__rrr�__static_attributes__�rrr	r	s����rr	c�,�\rSrSrSrSrSrSrSrg)�Star�&c�
�[R"XS9 UR5 XlUR	U5 X0lURRU5 X@lURS5 UR5 g)N)�shape�user)rr�penup�m�setpos�vr�append�gravSys�
resizemode�pendown)rr+�xr-r/r(s      rr�
Star.__init__'sX������*��
�
�������A���������t�$�����������rc��URRnUR5UlURSU-UR--Ulg)N��?)r/r�acc�ar-�rrs  rr�	Star.init1s8��
�\�\�_�_�����������#�b�&����-�'��rc��[SS5nURRHSnX :wdM
UR5UR5-
nU[UR
-[
U5S--U--
nMU U$)Nr�)�Vecr/r�pos�Gr+�abs)rr7�planetr-s    rr6�Star.acc5sg����!�H���l�l�*�*�F��~��J�J�L�����+���a����j��Q����*�A�-�-��+��rc��URRnURUR5XR--5 URR
R
U5S:wa7URURURR
S55 UR5Ul
URXR--Ulg)Nr)r/rr,r=r-r�index�
setheading�towardsr6r7r8s  rr�	Star.step<s���
�\�\�_�_�����D�H�H�J��F�F��*�+��<�<���%�%�d�+�q�0��O�O�D�L�L����)=�)=�a�)@�A�B����������"�V�V�)�#��r)r7r/r+r-N)	rrr r!rrr6rr"r#rrr%r%&s��	�(��$rr%c���[5nUR5 UR5RSS5 UR	5 UR5 UR
S5 URS5 UR5 URSS5 UR5 UR5nUR5 URSS5 UR5 UR5n[S5nURUS5 URUS5 UR5RSU5 UR5RS	S5 [5n[!S
[#SS5[#SS5US5nUR%S
5 UR'S5 UR5 [!S[#SS5[#SS5US5nUR)S5 UR'S5 [!S	[#SS5[#SS5US5nUR)S5 UR'S5 UR+5 UR-5 g)Nr��Z��compound�orange�bluer@�i@Bg��circle�yellowg������?i�0�����greeng�������?��i'r5zDone!)r�reset�	getscreen�tracer�ht�pu�fd�lt�
begin_polyrO�end_poly�get_polyr�addcomponent�register_shaper	r%r<�color�	shapesize�pencolorrr)�s�m1�m2�planetshape�gs�sun�earth�moons        r�mainrlFs�����A��G�G�I��K�K�M����1���D�D�F��D�D�F��D�D��G��D�D��H��L�L�N��H�H�Q����J�J�L�	
����B��L�L�N��H�H�Q�s�O��J�J�L�	
����B��
�#�K����R��)����R��'��K�K�M� � ��;�7��K�K�M����1��
��B�
�w��A�a��#�a��+�r�8�
<�C��I�I�h���M�M�#���F�F�H����C��
�C��#�J��H�=�E�	�N�N�7��	�O�O�C����3�s�1�:�s�1�S�z�2�x�8�D��M�M�&���N�N�3���G�G�I��H�H�J�r�__main__N)
�__doc__�turtlerrrrr<r>�objectr	r%rlrr#rr�<module>rqsO���$9�8����f��$�6�$�@%�N�z���F��J�r

Youez - 2016 - github.com/yon3zu
LinuXploit