pixels/examples/minimal-sdl2
Jay Oster 8071f34a1f
Rename resize to resize_surface (#149)
- Also cleanup documentation.
- Workaround FLTK window resize issues by disabling resizability.
2021-03-09 04:15:24 -08:00
..
src Rename resize to resize_surface (#149) 2021-03-09 04:15:24 -08:00
Cargo.toml Update dependencies (#148) 2021-03-09 02:47:44 -08: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.