diff --git a/README.md b/README.md index 039d79f..7605691 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,8 @@ Additionally, this project can be further expanded to research other physical pr 项目源代码 (Project source code):https://github.com/qfcy/python-gravity-simulator ## 一.各个文件的介绍 +源代码位于solar_system目录中。 + #### 1.主程序 solar_system.py:主程序的最新版本,也是一个公共的模块 solar_system_v1.0.py:主程序的1.0版本(存档备用) @@ -100,6 +102,8 @@ bilibili主页:[qfcy_](https://space.bilibili.com/454233262) ## 1.The introduction to each file +The source code is located in the solar_system directory. + #### (1) Main program solar_system.py: The latest version of the main program that also serves as a utility module diff --git a/README.rst b/README.rst index 64bd128..98e0278 100644 --- a/README.rst +++ b/README.rst @@ -43,6 +43,8 @@ You’re able to create a universe belonging to yourself in this program. Additi 一.各个文件的介绍 ================= +源代码位于solar_system目录中。 + 1.主程序 -------- @@ -175,6 +177,8 @@ bilibili主页:\ `qfcy\_ `__ 1.The introduction to each file =============================== +The source code is located in the solar_system directory. + (1) Main program ---------------- diff --git a/solar_system/ENG/README.md b/solar_system/ENG/README.md index 7f2a402..a450da3 100644 --- a/solar_system/ENG/README.md +++ b/solar_system/ENG/README.md @@ -30,7 +30,7 @@ In the program 'Gravity Simulating the Solar System': - (5) Press ``Tab``, ``Shift+Tab`` to switch planets, and press ``Delete`` to delete the currently followed planet. - (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. -- (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. +- (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. - (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. - (9) If you run this directly in Python, you also need to use the command "pip install pandas openpyxl" to install the required libraries.