AlexBB Posted August 26, 2020 Share Posted August 26, 2020 Hello, Is pixi.js a good choice for diagram builder, where user can draw basic shapes like rhombuses, squares, rectangles and connect them with lines? Please point me to the right direction, I even can't choose which is better to use SVG or Canvas. Diagram builder must work in browser and support touch events. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted August 26, 2020 Share Posted August 26, 2020 Konva is also a good choice for diagrams. If you use Pixi, WebGL renderer - you'll have problems with Anti-aliasing. IF you are ready - ok, go ahead. Its not like learning Pixi is a waste of time, there are many common things with other renderers. As for SVG - its slower than canvas2d. Dont use it. Quote Link to comment Share on other sites More sharing options...
Karg Posted August 30, 2020 Share Posted August 30, 2020 you could try d3.js and their online notebook editor at https://observablehq.com/explore - if it is data visualization and interaction, it is THE library. svg is so-so in terms of speed (check the notebooks, you'd be surprised though), but d3.js and svg has a huge range of compatibility. i have worked on a visualization project using these two and it even ran on the browser of a smart tv made 7-8 years ago. 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.