Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 1.52 KB

README.md

File metadata and controls

63 lines (43 loc) · 1.52 KB

yet another HAB simulator

A high altitude balloon flight simulator built in Bevy with Rust, inspired by tkschuler/EarthSHAB and mfc-apps.

devlog

Usage

As a library

Add yahs to your Cargo.toml:

[dependencies]
yahs = "0.4.0"

Then, add the SimulatorPlugins to your Bevy app:

use yahs::prelude::SimulatorPlugins;

fn main() {
    App::new().add_plugins(SimulatorPlugins);
}

Then you can use all of the components and systems from the yahs crate.

As an application

Running this package as a standalone application compiles all of the crates and runs the CLI by default:

cargo run

Force the standalone application to run the GUI instead of the CLI:

cargo run --bin yahs-ui

License

Except where noted (below and/or in individual files), all code in this repository is dual-licensed under either:

at your option. This means you can select the license you prefer! This dual-licensing approach is the de-facto standard in the Rust ecosystem and there are very good reasons to include both.