0b380b637d
* Allow accessing frame on immutable buffer * Rename `get_frame` to `get_frame_mut` * Use `get_frame_mut` in examples |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
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.