/opt/imh/python3.13/lib/python3.13/turtledemo/__pycache__
NameSizeModeActions
bytedesign.cpython-313.pyc82760644editdlrm
chaos.cpython-313.pyc24850644editdlrm
clock.cpython-313.pyc62960644editdlrm
colormixer.cpython-313.pyc33880644editdlrm
forest.cpython-313.pyc50520644editdlrm
fractalcurves.cpython-313.pyc58350644editdlrm
lindenmayer.cpython-313.pyc37420644editdlrm
minimal_hanoi.cpython-313.pyc40470644editdlrm
nim.cpython-313.pyc137020644editdlrm
paint.cpython-313.pyc20950644editdlrm
peace.cpython-313.pyc18230644editdlrm
penrose.cpython-313.pyc71800644editdlrm
planet_and_moon.cpython-313.pyc64050644editdlrm
rosette.cpython-313.pyc28680644editdlrm
round_dance.cpython-313.pyc28580644editdlrm
sorting_animate.cpython-313.pyc102630644editdlrm
tree.cpython-313.pyc25270644editdlrm
two_canvases.cpython-313.pyc22940644editdlrm
yinyang.cpython-313.pyc16650644editdlrm
__init__.cpython-313.pyc4490644editdlrm
__main__.cpython-313.pyc214630644editdlrm
Edit: /opt/imh/python3.13/lib/python3.13/turtledemo/__pycache__/planet_and_moon.cpython-313.pyc (6405B)
e SrSSKJrJrJrJr Sr"SS\5r "SS\5r Sr \ S :Xa\ "5 \"5 g g ) aturtle-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. )ShapeTurtlemainloopVec2Dc&\rSrSrSrSrSrSrg)GravSysc./UlSUlSUlg)Nrg{Gz?)planetstdt)selfs @/opt/imh/python3.13/lib/python3.13/turtledemo/planet_and_moon.py__init__GravSys.__init__s cJURHnUR5 M g)N)r init)rps rr GravSys.initsA FFHrc[S5HEnU=RUR- slURHnUR 5 M MG g)Ni')ranger rr step)rirs rstart GravSys.start s9uA FFdgg F\\"r)rr r N)__name__ __module__ __qualname____firstlineno__rrr__static_attributes__rrr r srr c,\rSrSrSrSrSrSrSrg)Star&c [R"XS9 UR5 XlUR U5 X0lUR RU5 X@lURS5 UR5 g)N)shapeuser) rrpenupmsetposvr appendgravSys resizemodependown)rr+xr-r/r(s rr Star.__init__'sX*  At$   rcURRnUR5UlURSU-UR--Ulg)N?)r/raccar-rrs rr Star.init1s8 \\__#b&-'rc[SS5nURRHSnX :wdM UR5UR5- nU[UR -[ U5S-- U-- nMU U$)Nr)Vecr/r posGr+abs)rr7planetr-s rr6Star.acc5sg !Hll**F~JJL+ajQ*A--+rcURRnURUR5XR--5 URR R U5S:wa7URURURR S55 UR5Ul URXR--Ulg)Nr) r/rr,r=r-r index setheadingtowardsr6r7r8s rr Star.step<s \\__ DHHJFF*+ <<   % %d +q 0 OODLL)=)=a)@A B"VV)#r)r7r/r+r-N) rrr r!rrr6rr"r#rrr%r%&s ($rr%c[5nUR5 UR5RSS5 UR 5 UR 5 UR S5 URS5 UR5 URSS5 UR5 UR5nUR5 URSS5 UR5 UR5n[S5nURUS5 URUS5 UR5RSU5 UR5RS S5 [5n[!S [#SS5[#SS 5US 5nUR%S 5 UR'S5 UR 5 [!S[#SS5[#SS5US5nUR)S5 UR'S5 [!S [#SS5[#SS5US5nUR)S5 UR'S5 UR+5 UR-5 g)NrZcompoundorangebluer@i@Bgcircleyellowg?i0greeng?i'r5zDone!)rreset getscreentracerhtpufdlt begin_polyrOend_polyget_polyr addcomponentregister_shaper r%r<color shapesizepencolorrr)sm1m2 planetshapegssunearthmoons rmainrlFsAGGIKKM1DDFDDFDDGDDHLLNHHQJJL BLLNHHQsOJJL B #KR)R'KKM  ;7KKM1 B wAa#a+r8 objectr r%rlrr#rrrqsO$98 f $6$@%N zF Jr