News for hackers. Stuff that matters.
Re:All asteroids in Solar System, visualized by o11c on Sunday October 13, 2024 @07:21PM (#41832620)
You should not be able to see the Kirkwood gaps if the simulation is accurate; the Wikipedia image is more realistic.

The "gap" only applies to the semi-major axis (which is proportional to the 3/2th power of the period); since most asteroids are somewhat eccentric (and since semi-major axis is relative to the center but orbits are based on a focus, which "moves" rapidly as the circle deforms) there are always asteroids crossing the "gap" between perihelion (far short of the semi-minor axis, even) and aphelion (far beyond the semi-major axis).

I'm too lazy to do the math, but based on planets with similar eccentricity, most asteroids are between 10% and 25% farther at aphelion than at perihelion (or, often between 0.25AU and 0.75AU farther), which easily crosses any single gap, and almost always multiple gaps.

See the images at https://en.wikipedia.org/wiki/Orbital_eccentricity for informative images of ellipses.

Re:All asteroids in Solar System, visualized by d_silin on Sunday October 13, 2024 @07:39PM (#41832724)
I suspect the gap is at least 50% rendering artifact, but all 1.4M asteroids are plotted as (small) fraction of its orbital ellipse, so the density distribution is reflective of the real data (more specifically, orbit types)
Re:All asteroids in Solar System, visualized by slg on Sunday October 13, 2024 @08:12PM (#41832904)
If I understand both the code and o11c's comment correctly, it sounds like the difference is less rendering artifact rather than what is being rendered. This code is rendering the asteroids based off their semi-major axis, but Wikipedia appears to be rendering their actual positions at a specific moment in time with the asteroids all at various points in their eccentric orbit.
Re:All asteroids in Solar System, visualized by d_silin on Sunday October 13, 2024 @08:16PM (#41832928)
I am pretty sure it is the opposite :)
Re:All asteroids in Solar System, visualized by slg on Sunday October 13, 2024 @08:47PM (#41833105)
Care to expand on that? Wikipedia image has the Greeks ahead of Jupiter and the Trojans behind Jupiter. Doesn't that clearly show it is an image of a moment in time? And the only attributes of an asteroid this code[1] seems to use are the eccentricity, semi-major axis, and perihelion. Although I'm no expert in either Python or astrophysics so I may be missing something.

[1] - https://github.com/DarkStar1982/Orbidium/blob/536afc2e12e9a2...

Re:All asteroids in Solar System, visualized by d_silin on Sunday October 13, 2024 @09:00PM (#41833167)
The code draws full orbit ellipse if selected to do so, but the original picture was rendered using a different mode, where just a small slice of the orbit arc is rendered, pretty much showing an instantaneous position of asteroid.

Now, I am pretty sure actual positions are not correct relative to each other (it is the same position on ellipse arc, should be actual position of the asteroid) but MPC file doesn't provide this information - you need ephemeris from here: https://www.minorplanetcenter.net/iau/MPEph/MPEph.html

After all, it is mostly a data visualization demo (although I tried to be precise with scale too)

Re:All asteroids in Solar System, visualized by slg on Sunday October 13, 2024 @09:26PM (#41833325)
>Now, I am pretty sure actual positions are not correct relative to each other (it is the same position on ellipse arc

That sounds to me just like a rephrasing of what I originally said. The locations in the Wikipedia image are correct relative to each other (because it is representing a moment in time) while the locations from the code are not correct relative to each other and are instead "the same position on ellipse arc" (although maybe I was wrong with my assumption that the "same position" was at the semi-major axis).

Re:All asteroids in Solar System, visualized by d_silin on Sunday October 13, 2024 @09:51PM (#41833464)
Yeah, I changed the orbit position to randomly sampling orbit locations and asteroid belt gaps are definitely rendering artifacts.
Re:All asteroids in Solar System, visualized by slg on Sunday October 13, 2024 @10:16PM (#41833601)
Lol, I thought our confusion was over astrophysics and not English. The gaps are a real physical phenomenon that may or may not be visible depending on rendering decisions. I wouldn't consider them a "rendering artifact" as I take that to imply the artifact was artificially created by the rendering. Either way, thanks for answering my questions!