[](https://travis-ci.org/tversteeg/sprite-gen)
# sprite (Executable)
[](https://crates.io/crates/sprite) [](#license) [](#downloads)
## Run
On Linux you need the `xorg-dev` package as required by `minifb` -- `sudo apt install xorg-dev`
cargo run --release
This should produce the following window:

# sprite-gen (Library)
A Rust library for procedurally generating 2D sprites. Port of https://github.com/zfedoran/pixel-sprite-generator
[](https://crates.io/crates/sprite-gen) [](#license) [](#downloads)
### [Documentation](https://docs.rs/sprite-gen/)
## Usage
Add this to your `Cargo.toml`:
```toml
[dependencies]
sprite-gen = "0.1"
```
And this to your crate root:
```rust
extern crate sprite_gen;
```
### Run the example
On Linux you need the `xorg-dev` package as required by `minifb` -- `sudo apt install xorg-dev`
cargo run --example minifb
This should produce the following window:
