1 unstable release
0.1.0 | Oct 20, 2022 |
---|
#3 in #hornvale
Used in ivyhall
395KB
5K
SLoC
Starfall
Starfall is a library for environmental procedural content generation and related tools related to astronomy.
The general idea is that I want to be able to create maps, rooms, weather phenomena, geological features, astronomical features, constellations, that sort of thing. Natural and artificial locations. Tides! Moons! Crap like that.
I don't know, I'm just making this up as I go.
Currently we generate habitable planets from the stellar neighborhood level and work our way down the scale. We start by generating roughly twelve star systems:
Each star system may be either a distant binary or single, each of which may be a close binary or a solitary. Thus we can have a solitary host star, binary host star, or a combination of solitary and close binary stars in our system. Around each host star are zero or more planets, and around each of those are zero or more moons.
Dependencies
~4–13MB
~141K SLoC