# Phobos

[![GitHub](https://img.shields.io/badge/GitHub-Phoboss-blue?logo=github)](https://github.com/celestial4498-prog/Phoboss)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/celestial4498-prog/Phoboss/blob/main/LICENSE)

Phobos is the larger, inner moon of Mars — a low-gravity, grooved body approaching Roche limit.

## Repository

- **Source**: <https://github.com/celestial4498-prog/Phoboss>
- **Issues**: <https://github.com/celestial4498-prog/Phoboss/issues>

## Status

This crate is stable and close to publish-ready.

## Features

- Environment and exosphere simulation
- Surface and terrain modeling
- Orbital and tidal mechanics (Mars system)
- Radiation and observation scenarios
- Mission and resource survey helpers
- Geodata, lighting, and temporal systems
- Rendering pipeline with PBR materials

## Modules

| Module | Description |
|---|---|
| `environment` | Surface dust, radiation, thermal modeling |
| `exosphere` | Atmospheric species, charging, escape |
| `geodata` | Coordinates, elevation DEM, landing sites, regions |
| `geology` | Craters, erosion, mountains, regolith, volcanism |
| `interactions` | Mars gravitational influence, tides, orbital dynamics |
| `lighting` | Eclipses, marsshine, solar position |
| `missions` | Landers, orbiters, relay communications |
| `observation` | Deep-space comms, mars view, navigation |
| `physics` | Orbit, rotation, collisions, tidal mechanics |
| `rendering` | Dust, PBR materials, GPU shaders |
| `resources` | Minerals, regolith, water ice / volatiles |
| `surface` | Heightmaps, geological mapping, surface zones |
| `temporal` | Calendar, epoch, time-scale conversions |
| `terrain` | LOD mesh generation, texturing |

## Development

Run checks locally:

```bash
cargo fmt
cargo clippy --all-targets --all-features
cargo test
```

## License

MIT — See [LICENSE](LICENSE) for details.
