Skip to content

Latest commit

 

History

History
 
 

minimal-sdl2

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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.