Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 510 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 510 Bytes

Hello Pixels

Hello Pixels

Minimal example with winit.

Running

cargo run --release --package minimal-winit

About

This example demonstrates the absolute minimum for creating a winit window and pixel buffer. It animates a purple box moving on a blue background, just for something interesting to display.

It uses winit_input_helper to provide a slightly better code presentation, but it doesn't greatly reduce the number of lines in the example.