I am trying to write a spaceship simulator. One problem I've hit into is how to best simulate the background of space with its stars. I don't need it to be faithful to the real thing with constellations and everything, but my attempt of uniformly distributing random points on the celestial sphere produced... unnatural-looking starry backgrounds, for reasons I can't put a finger on.
Is there a way to "realistically" distribute random "stars" in space? I'm language agnostic, so feel free to code in the language you're most comfortable with; I'll adjust. :)