#star #hornvale #planet #binary #system #host #moon

bin+lib starfall

Astronomical sciences, from the galaxy to the moon, for my Hornvale project

1 unstable release

0.1.0 Oct 20, 2022

#3 in #hornvale

Download history 1/week @ 2024-02-18 13/week @ 2024-02-25 1/week @ 2024-03-03 68/week @ 2024-03-24 17/week @ 2024-03-31

85 downloads per month
Used in ivyhall

Unlicense

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:

Screen Shot 2022-10-16 at 4 31 01 PM

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.5–6.5MB
~119K SLoC