#graphics #canvas #wasm


Implementation of embedded-graphics https://github.com/jamwaffles/embedded-graphics DrawTarget based on tiny-skia https://github.com/RazrFalcon/tiny-skia

1 unstable release

0.1.0 Aug 6, 2021

#786 in Graphics APIs

MIT license

128 lines



Implementation of embedded-graphics https://github.com/embedded-graphics/embedded-graphics DrawTarget based on tiny-skia https://github.com/RazrFalcon/tiny-skia.

Get it on Codeberg


MIT licensed

Add to your project

To include tiny_skia_display in your project, add this dependency line to your Cargo.toml file:

tiny_skia_display = { git = "https://codeberg.org/morphUI/tiny_skia_display" }

Run example

cargo run --example minimal

Run web example

Install web toolchain

  • Rust standard toolchain rustup, rustc, cargo (install)
  • Rust web assembly toolchain wasm-pack (install)
  • JavaScript package manager npm (install)

Rub example

  • Navigate to examples/minimal director
  • Run npm install
  • Run npm run serve

Build and run documentation

You can build and view the latest documentation by executing the following command:

cargo doc --no-deps --open


~23K SLoC