diff --git a/simulators/mpl/mpl_2d_simulator_arrow.py b/simulators/mpl/mpl_2d_simulator_arrow.py index 54c1ce1f279f87c353f9286af01d83458a28ca6f..8c0420803a437e824bae54320f9d8f83f942742d 100644 --- a/simulators/mpl/mpl_2d_simulator_arrow.py +++ b/simulators/mpl/mpl_2d_simulator_arrow.py @@ -93,12 +93,12 @@ class 星球: def 场景1(): global 星球列表, 时间步长 - 时间步长 = 0.01 + 时间步长 = 0.03 # 创建星球列表 星球列表 = [ - 星球(质量=5e12, 位置=[0, 0], 速度=[0, 0.2], 颜色='red', 名称偏移=[1, 0]), - 星球(质量=5e11, 位置=[25, 0], 速度=[0, 2], 颜色='blue'), - 星球(质量=5e11, 位置=[-25, 0], 速度=[0, -2], 颜色='green') + 星球(质量=5e12, 位置=[0, 0], 速度=[0, 0.15], 颜色='red', 名称偏移=[1, 0]), + 星球(质量=2e11, 位置=[25, 0], 速度=[0, 2.1], 颜色='blue'), + 星球(质量=2e11, 位置=[-25, 0], 速度=[0, -1.8], 颜色='green') ] 坐标轴.set_xlim(-50, 50) 坐标轴.set_ylim(-20, 80)