Jump to content

Is pixi.js a good choice for diagram builder


AlexBB
 Share

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...