提交 ebb77ef3 编写于 作者: 三月三net's avatar 三月三net

Python超人-宇宙模拟器

上级 0258bcd4
...@@ -18,7 +18,7 @@ if __name__ == '__main__': ...@@ -18,7 +18,7 @@ if __name__ == '__main__':
# 创建一个地球,位于中心位置,初始速度为 0 # 创建一个地球,位于中心位置,初始速度为 0
earth = Earth(init_position=[0, 0, 0], init_velocity=[0, 0, 0], earth = Earth(init_position=[0, 0, 0], init_velocity=[0, 0, 0],
size_scale=1, texture="earth_hd.jpg") size_scale=1, texture="earth_hd.jpg")
# earth.raduis = 6373.22 # 地球的半径 = earth.raduis = 6373.22
# 创建的3个不同质量,不同高度的球,观察这3个球打到地球表面上的加速度 # 创建的3个不同质量,不同高度的球,观察这3个球打到地球表面上的加速度
ball_1 = Football(mass=500, size_scale=2.65e2, trail_color=[255, 0, 0], ball_1 = Football(mass=500, size_scale=2.65e2, trail_color=[255, 0, 0],
# 球在地面上 518 多公里处 # 球在地面上 518 多公里处
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册