plotters icon indicating copy to clipboard operation
plotters copied to clipboard

[Feature reuqest] GPU Rendering Support - Not only WebGL, but also OpenGL/OpenCL/CUDA ?

Open serzhiio opened this issue 6 years ago • 4 comments
trafficstars

Any info on using WASM+WebGL+Plotters? Is it possible?

serzhiio avatar Sep 07 '19 20:09 serzhiio

Hi there, there's no built-in backend for WebGL currently. In theory you can implement your own backend. I am happy to make Plotters more useful to people, so could you please share more details about why and how you need this? And hopefully we will have a nice WebGL support in the future :)

Thanks!

38 avatar Sep 07 '19 20:09 38

I'm writing trading bots/algos and now build new web UI based fully on WASM. And i want fastest possible chart which can draw 50k+ points with reasonable FPS. I used to use D3FC library with canvas but i wasnt able to reach realtime perfomance.

If you interested you can look at this lib using WebGL backend: d3fc-webgl

serzhiio avatar Sep 07 '19 20:09 serzhiio

also for OpenGL: https://github.com/phaazon/luminance-rs

onsails avatar Dec 13 '19 11:12 onsails

I was able to achieve real time performance with the highly optimized bitmap backend and pass the RGB into your UI framework of choice.

0b01 avatar Dec 29 '19 22:12 0b01