Search the Community
Showing results for tags 'visualization'.
^Model is not actually 8-bit After lots of research, lots more math, and lots more tinkering, I am proud to present this 3D model (version 2.0!) of the KSP solar system. This tool provides accurate visualization and measurement of KSP’s celestial bodies with respect to one another using GeoGebra, a free and open-source graphing software. Sure, it’s pretty to look at, but its real strength is that you, the user, can use it to model and/or measure just about anything in-game. All planets and moons are represented accurately in terms of scale, eccentricity, orientation, inclination... all of it. The base state of the model has all bodies located where they would be in-game at UT=0, and can be run forward from there to 1000 in-game years (and beyond if you really need). Scale is in megameters (1Mm = 1,000km = 1,000,000m). ^Applet screenshot All stock planets and moons are represented accurately on their orbits. Semimajor axis, eccentricity, inclination, longitude of ascending node, argument of periapsis, orbital period, phase angle, body size (including atmosphere), and sphere of influence are all modeled. All bodies start exactly where they would at the beginning of a game (UT=0), and can be run forward from there to 500 in-game years (and beyond if you really need). Scale is in megameters (1Mm = 1,000km = 1,000,000m). Some of the data have been extracted directly from KSP (v1.2). Everything else is calculated within the model using that raw data. See below for the code used for the extraction. To use: To use the base tool (a version that is not easily modified or customized), follow this link to view and use it in the GeoGebra web app. You can get the customizable version at this link. It is strongly recommended that users download and install GeoGebra to their computer, as it’s faster and more stable. You can download the source file for the model by navigating to the appropriate link above and clicking in the top right corner of the applet. Full Instructions on using/customizing the model are available at the wiki. This project was very much an adventure for me, so I would not be surprised if there are (still) things I've missed, inaccuracies, etc. Please don't hesitate to bring them to my attention, along with suggestions for how to fix them, if available. I'm also open to ideas about additional features. Licensing: Because I've published the model on geogebra.org, it is subject to the Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license. Keep in mind that Geogebra is something altogether different. I have had no part in developing it, and it is subject to its own licensing, terms, and conditions. Updates: 05/20/2017: Major update with updated/streamlined calculations, fixed mathematical errors, improved accuracy (thanks to a script for the direct extraction of data from the game), new basic/customizable versions, and a wiki! 04/08/2017: Addressed crowding of AN/DNs & Pe/Aps by replacing the checkbox for each with a drop-down menu, allowing users finer control over what is shown/hidden. Added hide-able stats pane for body in focus, displaying orbital/physical parameters and time to AN and Pe. Changed auto-zoom levels to depend on body in focus. Original 2D model updated/converted to 3D. Known Issues: Body in "Focus View" drop-down often needs to be selected twice in order to display the target body at intended zoom level. Suggestions welcome. When focusing view, viewVector should orient camera to particular angle. It does not. Commented out for now. Discrepancy between JS syntax accepted by the web app and desktop versions causing error in customizable version's web app at launch. Not sure of reason, no "proper fix" at this time. Works fine in desktop version. Simple workaround is here. ^Joolian system
UPDATE: New thread created for 3D model that does everything this model does and more. Original post below: I've been exploring optimization solutions lately for my interplanetary communications network, and was having a hard time wrapping my head around some of the math and picturing the system in my head. So I did some research and learned some equations and relationships and found a nice free graphing software to bring it all together. I worked out the polar coordinate equation for each planet's elliptical orbit and plotted it. What came of the exercise was a scale model of the Kerbol System, viewed from the top down, with all planets' orbits represented accurately in terms of: major and minor axes foci (Kerbol in the correct position) eccentricity longitude of ascending node (how a planet's orbit is tilted relative to a reference direction) argument of periapsis (where the Pe is located; given relative to the longitude of the ascending node) (As far as I can tell, imgur album embedding is broken at the moment--please correct me if I'm wrong--so forgive the screen-captures.) ^Model overview ^Inner planets ^Tidied up a little (disabled grid-lines, too) ^Just Kerbin, Jool, and Eeloo nicely visualized The only thing this tool doesn't properly portray is orbital inclination, as that would be in a third dimension. I may look into that soon. We'll see. To use: Download and install GeoGebra on damn-near any platform, or use the web app Download the .gbb file I've l inked here from Dropbox Open, explore, modify... enjoy! At the moment, it's a fairly bare-bones item, with only the most essential information included, but it may just end up growing into something more substantial, whether for my own use, or at the request of the community. I don't know if any licensing is necessary here, but if it is, let's say.... MIT (referring only to the .gbb I've shared. GeoGebra has its own licensing policy). A few notes for clarity: Scale is in megameters (1Mm = 1,000km = 1,000,000m Visibility of elements can be turned on/off in the left pane. This can help with crowding when zoomed out past the inner planets. Π is used to denote the location of the ascending node (normally I would use ☊ but GeoGebra does not support it) Ω denotes the longitude of the ascending node (an angle) ω denotes the argument of periapsis (an angle) γ is used to denote the reference direction, along the x-axis (normally I would use ♈ but GeoGebra does not support it)