pixels/examples/minimal-sdl2/README.md
2019-11-19 19:58:21 -08:00

17 lines
516 B
Markdown

# Hello Pixels
![Hello Pixels](../../img/minimal-sdl2.png)
Minimal example with SDL2 using `beryllium`.
## Running
```bash
cargo run --release --example minimal-sdl2 --features minimal-sdl2
```
## About
This example demonstrates the absolute minimum for creating an SDL2 window and pixel buffer. It animates a purple box moving on a blue background, just for _something_ interesting to display.
The example currently does not run on macOS. See [#47](https://github.com/parasyte/pixels/issues/47) for details.