pixels/examples/minimal-fltk
Alex 0b380b637d
Allow accessing frame on immutable buffer (#288)
* Allow accessing frame on immutable buffer

* Rename `get_frame` to `get_frame_mut`

* Use `get_frame_mut` in examples
2022-08-14 15:44:23 -07:00
..
src Allow accessing frame on immutable buffer (#288) 2022-08-14 15:44:23 -07:00
Cargo.toml Update dependencies (#230) 2021-12-31 14:57:57 -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.