1 unstable release

0.1.0 Oct 8, 2023

#76 in #embedded-graphics

MIT/Apache

77KB
176 lines

ni_display

Crate API

This Rust library implements the Embedded-graphics-core DrawTarget trait, making it easy to draw 2D graphics primitives on the Maschine Mk3 display.

Examples

Clone this repo, see examples/demo.rs, and run

cargo run --example demo

References

This repo is inspired from, and based on code of the "push2_display" crate by Marc Bracher. Thank you Marc for sharing your code and implementation, converting the Push2 code to NativeInstruments was fun - and I would not have built the whole rust based embedded-graphics infrastructure myself. Checkout his code here: Ableton Push2 embedded graphics repo

Also, the embedded graphics project is the ecosystem that enabled this crate, checkout the great work there, and use the UI/pixel manipulating code from here: Embedded graphics

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~6.5MB
~94K SLoC