Skip to content

JohnnyDevMode/paperjs-pressure-pdfout

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

paperjs-pressure-pdfout.html

paper.js with tablet pressure + pdf data generation
tested with Chrome, FireFox(ok) and IE(fail)
To draw, you need wacom tablet and driver installed
(it also installs webtablet plugin).

view

You can save your drawing as a pdf file.
Click generate pdf link at the top of the page. Copy the content of the textarea. Paste it into a plain text editor and save it with ".pdf" extention.
Note that you must save with return code CRLF.

generatePdfFromPaperJs-v0.121.js

generates PDF data from PaperScope object (paper) of Paper.js.

required library: paper.js

See inside the script for details.


Paper.js - a JavaScript Vector Graphics Library.
Copyright (c) 2011, Juerg Lehni & Jonathan Puckey
http://paperjs.org/
Distributed under the MIT license.

About

pressure sensitive drawing on the web browser + pdf data generation, using paper.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published