Crates.io | starfall |
lib.rs | starfall |
version | 0.1.0 |
source | src |
created_at | 2022-10-20 23:24:15.756989 |
updated_at | 2022-10-20 23:24:15.756989 |
description | Astronomical sciences, from the galaxy to the moon, for my Hornvale project. |
homepage | https://ndouglas.github.io/hornvale/ |
repository | https://github.com/ndouglas/hornvale/ |
max_upload_size | |
id | 693025 |
size | 2,522,675 |
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.