Paper.js is a popular Vector graphics scripting framework built on top of the HTML5 canvas and is fully open-source. It provides a powerful Document Object Model/Scene Graph alongside rich features to build and work with bezier curves and vector graphics, all bundled in a clean, well-designed, and consistent programming interface. Scriptographer forms as the base of Paper js and has received updates frequently thanks to its active community of scripters.
Beginners can learn it pretty quickly, while intermediate and advanced users can polish their expertise. The features include the Document Object Model, which everyone can get started within no time. Build a project and populate it with rasters, layers, paths, groups, and more. Layers and groups can have other groups as well as other items. Those who are unfamiliar with the Document Object Model can visualize it as the layers palette of apps like Adobe Photoshop and illustrator.
The frameworks allow you to create paths and add segments to them with great ease. You can manipulate, inspect, remove and move them around without hassle. Sequences of segments connected by curves are used to represent paths. Paper.js provides mouse handlers, enabling you to perform various actions using a touch screen or mouse.
These handlers can be used to generate multiple types of tools that act differently to mouse movement and interaction. Apart from these, many other features are also available like Object Conversion, Mathematical Operations, Vector Geometry, Selection Outlines, Symbols, Raster Images and Color Averaging, SVG Import and Export, and Keyboard Interaction.
Paper.js alternatives