Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jakkusakura/plotters-gpui
gpui backend for plotters
https://github.com/jakkusakura/plotters-gpui
Last synced: about 6 hours ago
JSON representation
gpui backend for plotters
- Host: GitHub
- URL: https://github.com/jakkusakura/plotters-gpui
- Owner: JakkuSakura
- License: mit
- Created: 2024-12-26T16:27:16.000Z (21 days ago)
- Default Branch: main
- Last Pushed: 2025-01-05T07:08:06.000Z (11 days ago)
- Last Synced: 2025-01-05T08:17:38.819Z (11 days ago)
- Language: Rust
- Size: 23.4 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# plotters-gpui
[GPUI](https://gpui.rs) backend for [plotters](https://github.com/plotters-rs/plotters).
Please goto [https://github.com/JakkuSakura/plotters-gpui](https://github.com/JakkuSakura/plotters-gpui)
for more information.Due to gpui not being published on crates.io, you need to add the following to your `Cargo.toml`:
```toml
[dependencies]
plotters-gpui = { git = "https://github.com/JakkuSakura/plotters-gpui" }
```You might be interested in [https://github.com/JakkuSakura/gpui-plot](https://github.com/JakkuSakura/gpui-plot), as it
provides interactivity and more stuff on top of plotters-gpui## Show cases
## Performance
plotters-gpui try to maintain very good performance compared to that in javascript/python, even better than CPU based
plotting libraries### Metal Performance HUD
Use the following environment variable to enable Metal Performance HUD:
```text
MTL_HUD_ENABLED=1
Enables the Metal Performance HUD.
``````shell
MTL_HUD_ENABLED=1 cargo run ...
```