Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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

image image
image image
image

## 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 ...
```