Sein Posted October 21, 2022 Share Posted October 21, 2022 Hello Community, I am working on a Pixi project which is recently involved into a few data visualization. I was wondering what you suggest as the best library for data visualization (simply drawing a few bar-chart and line graph) in a PIXI canvas. I have already tried D3 js. It was not a good decision at all. Had a lot of difficulty to port what D3 is creating to Pixi, resulted a lot of work and eventually found myself drawing everything in Pixi again. Almost zero success I appreciate your guides or if you refer any relevant example. Thanks Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted October 21, 2022 Share Posted October 21, 2022 I didnt see any data vis for 2d in WebGL at all. I did an attempt, but its only partial. Sorry, in this area, unless you can publish something yourself, you shouldnt expect others to do that ) Its just too difficult to combine webgl and that high-level interfaces. Bars and chart is here: https://github.com/gameofbombs/pixi-candles , but it lacks necessary API for full vis lib ) Sein 1 Quote Link to comment Share on other sites More sharing options...
Sein Posted October 23, 2022 Author Share Posted October 23, 2022 Thanks @ivan.popelyshev for sharing the link. Does that make any sense if I go with using PIXI.BaseTexture.fromCanvas() method and pass a canvas contains a diagram into it? https://pixijs.download/v4.5.6/docs/PIXI.BaseTexture.html#.fromCanvas Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted October 25, 2022 Share Posted October 25, 2022 As one of possible steps , yes, but you definitely have to understand how it works, otherwise you'll eat too much memory, or get bad subpixel blur, or something else ) The problem is complex Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.