pixels/examples/minimal-sdl2
2020-04-12 23:13:40 -07:00
..
main.rs treewide: bump dependencies (#60) 2020-04-12 23:13:40 -07:00
README.md Add minimal-sdl2 example (#48) 2019-11-19 19:58:21 -08:00

Hello Pixels

Hello Pixels

Minimal example with SDL2 using beryllium.

Running

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 for details.