Fabric.js or Draw2D?

During consulting engagements, I usually get to draw a lot of diagrams and lately I have been thinking about building a (domain specific) 2D diagram editor. At this point, I have the following requirements: support for basic geometrical shapes support for text (with the ability to manipulate its size, alignment,…

Read More

HTML5 Canvas or SVG?

HTML5 has two 2D graphics APIs, Canvas and SVG. SVG is used to describe Scalable Vector Graphics, a "retained mode" graphics model that persists in an in-memory model. The canvas element is an “immediate mode” (drawing commands are sent directly to the graphics hardware), two-dimensional drawing surface. Immediate…

Read More