From 89f7e3b39c00348313b17748987824adb9c1cd19 Mon Sep 17 00:00:00 2001 From: march3 Date: Fri, 24 Mar 2023 16:07:50 +0800 Subject: [PATCH] =?UTF-8?q?Python=E8=B6=85=E4=BA=BA-=E5=AE=87=E5=AE=99?= =?UTF-8?q?=E6=A8=A1=E6=8B=9F=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/tri_bodies_perfect_04.json | 107 ++++++++++++++++++++++++++++++++ data/tri_bodies_perfect_05.json | 107 ++++++++++++++++++++++++++++++++ 2 files changed, 214 insertions(+) create mode 100644 data/tri_bodies_perfect_04.json create mode 100644 data/tri_bodies_perfect_05.json diff --git a/data/tri_bodies_perfect_04.json b/data/tri_bodies_perfect_04.json new file mode 100644 index 0000000..f1f833a --- /dev/null +++ b/data/tri_bodies_perfect_04.json @@ -0,0 +1,107 @@ +{ + "bodies": [ + { + "name": "红轨太阳A", + "mass": 2e+30, + "init_position": [ + 0.0, + 518222240.0, + 0.0 + ], + "init_velocity": [ + -12.0, + 0.0, + 0.0 + ], + "density": 1408.0, + "color": [ + 170, + 98, + 25 + ], + "texture": "sun2.jpg", + "size_scale": 50.0, + "distance_scale": 1.0, + "rotation_speed": 0.613, + "ignore_mass": false, + "is_fixed_star": true, + "trail_color": [ + 255, + 0, + 0 + ] + }, + { + "name": "绿轨太阳B", + "mass": 2e+30, + "init_position": [ + -299195744.0, + 0.0, + 0.0 + ], + "init_velocity": [ + 6.0, + -10.392304420471191, + 0.0 + ], + "density": 1408.0, + "color": [ + 170, + 98, + 25 + ], + "texture": "sun2.jpg", + "size_scale": 50.0, + "distance_scale": 1.0, + "rotation_speed": 0.613, + "ignore_mass": false, + "is_fixed_star": true, + "trail_color": [ + 0, + 255, + 0 + ] + }, + { + "name": "蓝轨太阳C", + "mass": 2e+30, + "init_position": [ + 299195744.0, + 0.0, + 0.0 + ], + "init_velocity": [ + 6.0, + 10.392304420471191, + 0.0 + ], + "density": 1408.0, + "color": [ + 170, + 98, + 25 + ], + "texture": "sun2.jpg", + "size_scale": 50.0, + "distance_scale": 1.0, + "rotation_speed": 0.613, + "ignore_mass": false, + "is_fixed_star": true, + "trail_color": [ + 0, + 0, + 255 + ] + } + ], + "params": { + "dt": 31536000, + "position": [ + -299195741.4, + 224396806.04999998, + -1196782965.6 + ], + "show_trail": true, + "show_name": false + } +} \ No newline at end of file diff --git a/data/tri_bodies_perfect_05.json b/data/tri_bodies_perfect_05.json new file mode 100644 index 0000000..183bee0 --- /dev/null +++ b/data/tri_bodies_perfect_05.json @@ -0,0 +1,107 @@ +{ + "bodies": [ + { + "name": "红轨太阳A", + "mass": 2e+30, + "init_position": [ + 0.0, + 518222240.0, + 0.0 + ], + "init_velocity": [ + -19.0, + 0.0, + 0.0 + ], + "density": 1408.0, + "color": [ + 170, + 98, + 25 + ], + "texture": "sun2.jpg", + "size_scale": 50.0, + "distance_scale": 1.0, + "rotation_speed": 0.613, + "ignore_mass": false, + "is_fixed_star": true, + "trail_color": [ + 255, + 0, + 0 + ] + }, + { + "name": "绿轨太阳B", + "mass": 2e+30, + "init_position": [ + -299195744.0, + 0.0, + 0.0 + ], + "init_velocity": [ + 9.5, + -16.454483032226562, + 0.0 + ], + "density": 1408.0, + "color": [ + 170, + 98, + 25 + ], + "texture": "sun2.jpg", + "size_scale": 50.0, + "distance_scale": 1.0, + "rotation_speed": 0.613, + "ignore_mass": false, + "is_fixed_star": true, + "trail_color": [ + 0, + 255, + 0 + ] + }, + { + "name": "蓝轨太阳C", + "mass": 2e+30, + "init_position": [ + 299195744.0, + 0.0, + 0.0 + ], + "init_velocity": [ + 9.5, + 16.454483032226562, + 0.0 + ], + "density": 1408.0, + "color": [ + 170, + 98, + 25 + ], + "texture": "sun2.jpg", + "size_scale": 50.0, + "distance_scale": 1.0, + "rotation_speed": 0.613, + "ignore_mass": false, + "is_fixed_star": true, + "trail_color": [ + 0, + 0, + 255 + ] + } + ], + "params": { + "dt": 31536000, + "position": [ + -299195741.4, + 224396806.04999998, + -1196782965.6 + ], + "show_trail": true, + "show_name": false + } +} \ No newline at end of file -- GitLab