When comparing PERGOLA vs GraphicsJS, the Slant community recommends GraphicsJS for most people. In the question“What are the best JavaScript drawing libraries?” GraphicsJS is ranked 10th while PERGOLA is ranked 24th. The most important reason people chose GraphicsJS is:
Not only Bezier curves but also any lines, shapes, arcs, etc. out-of-the-box.
Ranked in these QuestionsQuestion Ranking
Pros
Pro HTML
Pergola runs seamlessly in an HTML environment (option in configuration file). All the examples are provided both as SVG standalone and embedded in HTML, and are strictly equal.
Besides its universal Node Helper (http://www.svgmagazine.com/jul2011/dom-helper.html) Pergola also provides the equivalent for building HTML nodes and <foreignObject> HTML nodes.
Pro SVG native
The first and most accomplished SVG native library, 100% cross-platform compatible.
Pro Powerful line drawing
Not only Bezier curves but also any lines, shapes, arcs, etc. out-of-the-box.
Pro Convenient API
Clear and concise API with chaining support.
Pro Virtual DOM
Rapid drawing. Only what is necessary is drawn.
Pro Has its own transformation engine
No need to use embarrassing in-browser transformations.
Pro Legacy browser support
IE6+.
Pro Smart layering system
With z-index.
Pro Rich text features
Multiline text support, text measurement, wrap, indent, spacing, align, etc.
Pro Full accessibility (Section 508)

Pro Events support
All browser events are dispatched in the same way in virtual DOM structure also.
Cons
Con Commercial license
PERGOLA does not offer a free version. The price for a single developer to use PERGOLA is 400 €.
