pixels/examples/minimal-fltk
Jay Oster 5a96eea6ba
Handle all wgpu::SurfaceError variants (#348)
This fixes error handling for all `wgpu::SurfaceError` variants. It also adds more context to error messages printed by the examples.

Closes #346
2023-03-21 07:16:51 -07:00
..
src Handle all wgpu::SurfaceError variants (#348) 2023-03-21 07:16:51 -07:00
Cargo.toml Handle all wgpu::SurfaceError variants (#348) 2023-03-21 07:16:51 -07:00
README.md add fltk example (#137) 2021-02-07 10:36:21 -08:00

Hello Pixels

Hello Pixels

Minimal example with fltk.

Running

cargo run --release --package minimal-fltk

About

This example demonstrates the absolute minimum for creating an fltk window and pixel buffer. It animates a purple circle moving on a darker purple background, just for something interesting to display.