pixels/examples/minimal-sdl2
Jay Oster b5b55c43f7
Add feature flag to enable all log levels in examples (#98)
- Adds extra troubleshooting documentation to the README
2020-07-18 23:00:26 -07:00
..
src Fix dependency bloat (#67) 2020-04-13 10:12:18 -07:00
Cargo.toml Add feature flag to enable all log levels in examples (#98) 2020-07-18 23:00:26 -07:00
README.md Fix dependency bloat (#67) 2020-04-13 10:12:18 -07:00

Hello Pixels

Hello Pixels

Minimal example with SDL2 using beryllium.

Running

cargo run --release --package 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.