Skip to content

Commit c235756

Browse files
committed
Update README.md
1 parent ce0fbe6 commit c235756

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ Additionally, this project can be further expanded to research other physical pr
2727
项目源代码 (Project source code):https://github.com/qfcy/python-gravity-simulator
2828
## 一.各个文件的介绍
2929

30+
源代码位于solar_system目录中。
31+
3032
#### 1.主程序
3133
solar_system.py:主程序的最新版本,也是一个公共的模块
3234
solar_system_v1.0.py:主程序的1.0版本(存档备用)
@@ -100,6 +102,8 @@ bilibili主页:[qfcy_](https://space.bilibili.com/454233262)
100102

101103
## 1.The introduction to each file
102104

105+
The source code is located in the solar_system directory.
106+
103107
#### (1) Main program
104108

105109
solar_system.py: The latest version of the main program that also serves as a utility module

README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ You’re able to create a universe belonging to yourself in this program. Additi
4343
一.各个文件的介绍
4444
=================
4545

46+
源代码位于solar_system目录中。
47+
4648
1.主程序
4749
--------
4850

@@ -175,6 +177,8 @@ bilibili主页:\ `qfcy\_ <https://space.bilibili.com/454233262>`__
175177
1.The introduction to each file
176178
===============================
177179

180+
The source code is located in the solar_system directory.
181+
178182
(1) Main program
179183
----------------
180184

solar_system/ENG/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ In the program 'Gravity Simulating the Solar System':
3030
- (5) Press ``Tab``, ``Shift+Tab`` to switch planets, and press ``Delete`` to delete the currently followed planet.
3131
- (6) Drag the mouse to launch the "spaceship", and press ``Ctrl+D`` to delete all spaceships if there are performance problems. After tracking the spaceship, informations such as the spaceship's speed will be displayed on the screen, and the speed is relative to the parent celestial body. The parent celestial body of the spaceship is determined by the celestial body being tracked at the time of spaceship launch. Press the ↑, ↓, ←, → keys to "pilot" the spaceship, with the ↑ and ↓ keys used for acceleration and deceleration, and the ← and → keys used for turning left (counterclockwise) and right (clockwise). Using the spaceship control function allows you to adjust the spaceship's orbital path, simulating the real process of spaceship launch and trajectory adjustment.
3232

33-
- (7) Using the "Open" and "Save" features allows you to save simulation progress, customize planets in the gravitational system, and create a more diverse and rich celestial system. The program currently supports saving files in xlsx, csv, and pkl (pickle) formats. The "default.xlsx" table stored in the program directory is an example of a saved Excel sheet and is also the default celestial bodies list that the program reads at startup. During editing, clicking on "Help" at the bottom left of the Excel sheet provides detailed instructions on the table. Press ``Ctrl+O`` to open files, ``Ctrl+S`` to save the current file.
33+
- (7) The "Open" and "Save" features allow you to save simulation progress, customize planets in the gravitational system, and create a more diverse and rich celestial system. The program currently supports saving files in xlsx, csv, and pkl (pickle) formats. The "default.xlsx" table stored in the program directory is an example of a saved Excel sheet and is also the default celestial bodies list that the program reads at startup. During editing, clicking on "Help" at the bottom left of the Excel sheet provides detailed instructions on the table. Press ``Ctrl+O`` to open files, ``Ctrl+S`` to save the current file.
3434
- (8) The program includes a tool tip which can display information such as frame rate, parameters of the current following celestial body, current calculation precision and performance in the top right corner of the interface. Press ``F3`` to toggle the tool tip between three modes, including hidden, brief and detailed.
3535
- (9) If you run this directly in Python, you also need to use the command "pip install pandas openpyxl" to install the required libraries.
3636

0 commit comments

Comments
 (0)