pixels/examples/minimal-fltk
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
..
src add fltk example (#137) 2021-02-07 10:36:21 -08:00
Cargo.toml add fltk example (#137) 2021-02-07 10:36:21 -08: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.