# bevy_starfield [![bevy](https://img.shields.io/badge/Bevy-0.10-blue)](https://crates.io/crates/bevy/0.10.0) [![Crates.io](https://img.shields.io/crates/v/bevy_starfield)](https://crates.io/crates/bevy_starfield) [![Crates.io](https://img.shields.io/crates/d/bevy_starfield)](https://crates.io/crates/bevy_starfield) [![docs.rs](https://img.shields.io/docsrs/bevy_starfield)](https://docs.rs/bevy_starfield/) ![MIT/Apache 2.0](https://img.shields.io/badge/license-MIT%2FApache-blue.svg) A procedural night sky plugin for the Bevy game engine. ![Cube Example Screenshot](examples/images/cube.png) ## Minimal Example ```rust use bevy::prelude::*; use bevy_starfield::StarfieldPlugin; fn main() { App::new() .add_plugins(DefaultPlugins) .add_plugin(StarfieldPlugin) .add_startup_system(setup) .insert_resource(GameUnitsToCelestial { origin_latitude: 51.4778, origin_longitude: -0.0014, ..Default::default() }) .run(); } fn setup(mut commands: Commands) { commands.spawn(Camera3dBundle::default()); } ``` ## License bevy_starfield is dual-licensed under MIT and Apache-2.0. You may use it under either at your option. ## Credits The star data included with this crate is sourced from the [Yale Bright Star Catalog](http://tdc-www.harvard.edu/catalogs/bsc5.html).