For pedagogic / scientific diffusion purpose (gravity shape spacetime).
F5 in Star_planet_satellite_animation.m or Star_planet_satellite_animation in console to run the main program and create the animation file named 'Star_planet_satellite_system.gif' that will appear in the same directory as you registered this .m file.
Parameters -like the ones for the display- may be tuned in the file header.
For instance set sat_path_on / planet_path_on to false/true to disable/enable the satellite/planet path.
To benefit from the file documentation attached, be sure to download the file, not to just copy and paste it.
Mathworlds (2021). Star - planet - satellite system animation (https://github.com/NicolasDouillet/star_planet_satellite_animation/releases/tag/v4.1), GitHub. Retrieved .
However, following the radius of influence of the planet field and its weight, the rendering result may be a little different. The boundary of the gravity field appears or not.
Hi Pink_panther, and thank you for comment and rating. Only the coefficient values (masses) are slightly different. The function used to compute the fields remain the same (a radial basis function with compact support)
I see V4 and V2 are different, is V4 gravity field more accurate?
New version (3.0) actually coming versy soon.
Boy, one terrific animation it is!
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!