Skip to content

JakkuSakura/plotters-gpui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plotters-gpui

GPUI backend for plotters.

Please goto 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:

[dependencies]
plotters-gpui = { git = "https://github.com/JakkuSakura/plotters-gpui" }

If you failed to build on linux due to font-kit, you might need to add the following to your Cargo.toml:

# because plotters' font-kit might fail
[patch.crates-io]
pathfinder_simd = { git = "https://github.com/theoparis/pathfinder.git" }
plotters = { git = "https://github.com/JakkuSakura/plotters", tag = "v0.3.7-gpui" }
plotters-backend = { git = "https://github.com/JakkuSakura/plotters", tag = "v0.3.7-gpui" }

You might be interested in 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:

MTL_HUD_ENABLED=1
Enables the Metal Performance HUD.
MTL_HUD_ENABLED=1 cargo run ...

About

gpui backend for plotters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages