3 ms·
I made my own, using WGPU and this basic graphics engine: https://github.com/David-OConnor/graphics_wgpu https://github.com/David-OConnor/graphics_wgpu Note th
by the__alchemist 4y ago
I made my own, using WGPU and this basic graphics engine: https://github.com/David-OConnor/graphics_wgpu https://github.com/David-OConnor/graphics_wgpu
Note that there's currently no docs or template/examples, and I'm rapidly breaking the API.
The surface plots are just meshes of a grid divided into triangles. When I need to manipulate them, I re-gen the meshes from a nested 3D array.
So, not a plotting lib at all; a flexible 3d and UI lib. Could probably made usable by others with a basic example of how you interact with the render and UI.
Have you tried the Plotter lib? I haven't used it, but looks nice from a skim. https://plotters-rs.github.io/book/basic/draw_3d_plots.html https://plotters-rs.github.io/book/basic/draw_3d_plots.html
- whooie 4y agoWow, very cool. Personally I'm not really interested in trying to go through building something like what you've done for myself, haha. I've come across Plotters before but last time I checked, the documentation was pretty sparse and I didn't really relish the thought of trying to parse though and tweak the examples at that time. It looks like they're gradually filling out the docs now, though, so maybe I'll give it another go.