![]() The manipulation of Point and Size objects is further simplified in PaperScript, where direct math operations using normal operator syntax are possible on such objects as if they were plain numbers. 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. There is a good reason for the word Vector in Vector Graphics.PaperScript, a simple extension of JavaScript, allowing the scoped execution of scripts without polluting the global scope, the execution of multiple scripts per page in their separate sand-boxed scopes while sharing the library code, and adding support for operator overloading to any object.A well designed and battle hardened Application Programming Interface (API).The handling and drawing of these graphic items is automatic and optimised, allowing you to construct or modify your items and styles and leave the drawing commands to Paper.js.A Scene Graph / Document Object Model for vector graphics: Work with nested layers, groups, paths, compound paths, rasters, symbols etc.Paper.js is not simply a wrapper around the Canvas, it offers much more: To stay up to date, follow us on Twitter.If you have any questions or comments, please join the mailing list.Want to learn Paper.js? Why not start now with one of our Tutorials. ![]() ![]() Download Paper.js or check out the latest version from our Github Repository.First of all, take a look at some of our examples.Paper.js is developed by Jürg Lehni & Jonathan Puckey, and distributed under the permissive MIT License. Paper.js is easy to learn for beginners and has lots to master for intermediate and advanced users. 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.
0 Comments
Leave a Reply. |