plotters-rs / plotters

A rust drawing library for high quality data plotting for both WASM and native, statically and realtimely 🦀 📈🚀
https://plotters-rs.github.io/home/
MIT License
3.89k stars 281 forks source link

Drawing 3d Voxels #611

Open midstreeeam opened 4 months ago

midstreeeam commented 4 months ago

Drawing voxels in 3d space. It is implemented in matplotlib's voxels function.

It draws like this: image

It would be very helpful if there is a similar function implemented. When porting code from python to rust, I really hope there are similar functions to use.

I searched and I didn't find plotters has a function relate to voxel. I don't know if I missed it. If such a function is needed, I'd like to open a PR after I implemented it.