Hacker News new | ask | show | jobs
by Jyaif 2395 days ago
You do realize that with 2 floats to store the position of a star on a sphere, that's like 8 MB per million of star? With compression you can almost certainly get away with something like 2 bytes per stars.

And an other solution is to simply store a bitmap of the sphere around earth.

1 comments

It also shows the positions of the planets correctly, so it would need to have an ephemeris, or planetary orbital elements. Meteors and satellites show trails across the star field. At some point simulating all of this would be more complicated than really doing it.