Would these be correct simplified versions of the spreadsheet formulas with journal data? I'm especially fuzzy on the 5/4 part. If I don't get this right, then there's no point in attempting to get it into XML.RE: Flattening, one formula to estimate the flattening coefficient (assuming uniform density and various other factors is:
![]()
Where w is (2 * PI / rotation period), r is mean radius and M is body mass (seconds, meters and kg). Oh, and G is the gravitational constant. This factor (f) can then be used to calculate the equatorial radius and polar radius as this:
![]()
Finally, you can compare this difference between the radii as a ratio of the equatorial radius. I've put this into a copy of the spreadsheet pasted earlier and sorted on this ratio. Results are promising:
Oblated Gas Giants
I'd say if you considered everything with a ratio of under 12, it'd be pretty close (or perhaps 10). Only 2 of the extreme ones are missed, and there's likely something else going on there (I think close binary orbits affect things, for example). Worth pointing out that the spreadsheet is (mostly) not journal data - journal data would help accuracy of calculations. I expect this would be quite a challenge to put in custom XML though, perhaps it's something Vithigar can build in (or maybe I could).
f= 5((6.28/RP)^2*R^3)/4((3.986*10^14)*EM)
re= R(1+(f/3))/1000
rp= R((1-2f)/3))/1000
EDIT: If those are correct, then this is what has to get turned into the XML logic as the ratio re/(re-rp): (R(1+((5((6.28/RP)2*R3)/4((3.986*10^14)*EM))/3))/1000)/((R(1+((5((6.28/RP)2*R3)/4((3.986*10^14)*EM))/3))/1000)-(R((1-2(5((6.28/RP)2*R3)/4((3.986*10^14)*EM)))/3))/1000))
Um...right. One function at a time, I suppose. Can we even do cubes with only first and second values? Where's that crazy math post? (Found it)
Is there a tool that color codes XML...levels?...nests? So it looks like this?
Last edited: