New Javascript Scriptographer-based Framework
- Transfer

Created by Jürg Leni and Jonathan Pakey, Paper.js is an open source vector graphics scripting framework that runs on top of HTML5 Canvas. It offers a clean Scenegraph / DOM and many vibrant features for creating and working with vector graphics and Bezier curves.
Paper.js is based on and largely compatible with Scriptographer, a scripting environment for Adobe Illustrator, originally developed by Jurg and Jonathanan for more than 10 years.

Functions overview:
- Scene Graph / DOM for vector graphics: Work with nested layers, groups, paths, rasters, symbols, etc.
- The processing and drawing of these graphic elements is automatic and optimized, allowing you to create or modify your elements and styles and leave the Paper.js drawing commands.
- Well designed and battle-hardened programming interface.
- Paper.js offers the best Vector Maths through its basic types such as Poin, Size and Rectangle.
- PaperScript, a simple JavaScript extension allows large-scale execution of scripts without polluting the global scope, multiple scripts per page in their separate packed sandboxes, sharing library code, and manipulating Point and Size objects using direct mathematical operations, as if they were were prime numbers.
- Simple but carefully thought-out interaction of the mouse and keyboard.
- Create paths and manipulate their curves and segments in very convenient ways.
- Check and control the exact bounding box of any element, supporting complex stroke styles with square ends and extreme junction angles.
- Smooth curves, simplified segment paths by fitting curves to points.
- Simulation of the dashed lines that Canvas lacks, with a high rendering speed.





By the way, one of them (lehni) wrote 100 thousand lines in a week.