Paper.js is an open source vector graphics scripting framework that runs on top of the HTML5 Canvas. It offers a clean Scene Graph / Document Object Model and a lot of powerful functionality to create and work with vector graphics and bezier curves, all neatly wrapped up in a well designed, consistent and clean programming interface. Paper.js is based on and largely compatible with Scriptographer, a scripting environment for Adobe Illustrator with an active community of scripters and more than 10 years of development. Paper.js is easy to learn for beginners and has lots to master for intermediate and advanced users. Paper.js is developed by Jürg Lehni & Jonathan Puckey, and distributed under the permissive MIT License. Paper.js is not simply a wrapper around the Canvas, it offers much more.

Features

  • Work with nested layers, groups, paths, compound paths, rasters, symbols etc.
  • The handling and drawing of these graphic items is automatic and optimized, allowing you to construct or modify your items and styles and leave the drawing commands to Paper.js
  • A well designed and battle hardened Application Programming Interface (API)
  • Simulate dashed strokes which are currently lacking from the Canvas object, at near native drawing speed
  • Paper.js treats Vector Mathematics as a first class citizen by making working with vectors and geometries as simple as possible through its core types such as Point, Size and Rectangle
  • Construct paths and manipulate their curves and segments in very convenient and fine-grained ways
  • Inspect and manipulate the precise bounding box of any item, supporting complicated stroke styles with different stroke ends and miter limits
  • Smoothen curves, and simplify path segments by fitting curves through points

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Paper.js

Paper.js Web Site

Other Useful Business Software
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Paper.js!

Additional Project Details

Operating Systems

Linux, Mac

Programming Language

JavaScript

Related Categories

JavaScript Graphics Software, JavaScript Vector Graphics Software

Registered

2021-05-11