pixels/examples/minimal-fltk/README.md
Mohammed Alyousef f845d59213
add fltk example (#137)
* add fltk example

* fix clippy lint

* fix rustfmt check

* add missing trailing new line

* use no-pango feature

* remove call to win.draw()
2021-02-07 10:36:21 -08:00

16 lines
371 B
Markdown

# Hello Pixels
![Hello Pixels](../../img/minimal-fltk.png)
Minimal example with fltk.
## Running
```bash
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.