Commit graph

435 commits

Author SHA1 Message Date
Jürg Lehni
aec4c70b9a Update Butterfly example. 2013-11-03 12:23:31 +01:00
Jürg Lehni
6425a01bbd Include example to illustrate loading from local files. 2013-11-03 12:10:35 +01:00
Jürg Lehni
5e4bcbb5e5 Update to Ghostscript Tiger that currently causes issues with new importer code. 2013-11-03 12:09:58 +01:00
Jürg Lehni
df80eb2f23 Define PaperScope#paper as a reference to the local scope.
And use it to fix Raster JSON example.
2013-11-01 11:46:31 +01:00
Jürg Lehni
e8919174f8 Use matchShapes option in an example. 2013-10-30 16:19:10 +01:00
Jürg Lehni
4042d4fc2c Only fire change events if values actually change. 2013-10-29 21:52:42 +01:00
Jürg Lehni
a3ec26dace Improve handling of change events in Palette. 2013-10-29 21:34:12 +01:00
Jürg Lehni
ccfacf2484 Fix mediaelement.js path in Nyan example. 2013-10-29 17:35:57 +01:00
Jürg Lehni
2066fae47a Use option.expandShapes to restore boolean examples. 2013-10-29 16:47:27 +01:00
Jürg Lehni
5a462f42b7 Improve some comments / docs. 2013-10-29 09:42:59 +01:00
Jürg Lehni
7209b2f977 Add butterfly SVG example. 2013-10-29 09:42:59 +01:00
Jürg Lehni
782f5c8f7e Fix issue with reading selected segment points from JSON when there are no handles.
The segment short form was misunderstood by the constructor.
2013-10-18 20:58:06 +02:00
Jürg Lehni
4f27be8f12 Include new, improved point in path algorithm based on winding number.
It's also possible to switch to using the canvas's native isPointInPath() through options.nativeContains
2013-10-18 14:22:59 +02:00
Jürg Lehni
9976033655 Implement serialization of selection. 2013-10-17 12:04:11 +02:00
Jürg Lehni
9956a6ff51 Implement Shape#toPath(), analogue to Path#toShape().
This way is much simpler though.
2013-10-16 23:44:50 +02:00
Jürg Lehni
c4c7a37993 Implement Path#toShape(), Segment#isColinear(), Segment#isOrthogonal() and Segment#isArc(). 2013-10-16 23:10:03 +02:00
Jürg Lehni
0129080a08 SVG: Add parallelogram to example.
We should really have a test-case in place...
2013-10-16 17:11:15 +02:00
Jürg Lehni
ba8e0b791e Fix rotated primitives example.
Only use Path shapes here.
2013-10-14 21:27:08 +02:00
Jürg Lehni
041d88c89c Clean up clipping example. 2013-10-14 21:26:43 +02:00
Jürg Lehni
2263afea59 Start implementing rounded rectangles in Shape.Rectangle. 2013-10-14 19:57:28 +02:00
Jürg Lehni
d8f7799fc4 Update rotates primitives examples. 2013-10-14 19:56:51 +02:00
Jürg Lehni
4738847f30 Clean up SVGExport node example. 2013-10-10 23:12:53 +02:00
Jürg Lehni
6d751fc466 Add mouse hovering to StrokeBounds example. 2013-08-16 16:40:26 -07:00
Jürg Lehni
ca790f9339 Add simple BooleanOperations Node example, illustrating how to serve results through a HTTP server. 2013-07-18 19:04:04 -07:00
Jürg Lehni
3a1fa3171b Fix Path Intersections example. 2013-06-27 23:26:26 -07:00
Jürg Lehni
4f5dac8567 Improved PrePro to be able to dynamically load Node.js code too, and improve load.js to handle both environments.
Also moved PaperScript .pjs extension code to PaperScript, and DOM related Node.js code to dom/node.js
2013-06-27 13:49:04 -07:00
Jürg Lehni
f572ad9c0a Improve handling of Stats.
Don't bail out if the library is not loaded.
2013-06-27 04:11:50 -07:00
Jürg Lehni
c6e50375df Expose nativeBlendModes and amend BlendModes example with information about the use of native modes. 2013-06-24 15:55:15 -07:00
Jürg Lehni
4c444f266f Update BlendModes example. 2013-06-24 15:20:43 -07:00
Jürg Lehni
7d433406f8 Fix bouncing balls example.
The Clip class is gone.
2013-06-24 09:32:36 -07:00
Jürg Lehni
2241329321 Fix id clash in SVGExport. 2013-06-18 17:29:00 -07:00
Jürg Lehni
ace23d354d Update BlendModes example to include SVG export. 2013-06-18 17:23:38 -07:00
Jürg Lehni
691b2f8094 Fix issues with SVG Import and matrices on groups. 2013-06-18 15:46:49 -07:00
Jürg Lehni
b133d8fe2e Restructure BlendMode code, fix issues with color-dodge and color-burn, and create BlendModes.html example.
All modes should be implemented according to specs now.
2013-06-18 08:02:04 -07:00
Jürg Lehni
18383875eb Fix global variable leakage. 2013-06-11 17:46:50 -07:00
Jürg Lehni
bd42ded79b Include clipping example for SVG Export. 2013-06-11 15:00:18 -07:00
Jürg Lehni
7f251b78e3 Switch to HTML5 meta charset tags. 2013-06-02 13:41:10 -07:00
Jürg Lehni
7c2e57e105 Remove Item#applyMatrix boolean, go back to previous way of directly applying transformations to children in Group and Layer, and introduce new Clip class for non-transformed nested matrices. 2013-05-13 18:57:17 -07:00
Jürg Lehni
cc82bbb24d Use correct canvas size. 2013-05-09 02:39:19 -07:00
Jürg Lehni
093f4cf7ba Fix issue with SVG transformations not being applied to gradient fills. 2013-05-09 02:37:48 -07:00
Jürg Lehni
728be483d7 Implement SVGImport example for node, currently failing. 2013-05-09 00:23:11 -07:00
Jürg Lehni
e5ed88462c Update package.json for new release on NPM. 2013-05-08 20:51:58 -07:00
Jürg Lehni
c5627d141e Fix PaperScript support in node. 2013-05-08 20:38:23 -07:00
Jürg Lehni
6fd93978f8 Do not use PaperScript in node example. 2013-05-08 20:30:13 -07:00
Jürg Lehni
e2ae03d571 Update exportSVG example. 2013-05-08 20:19:49 -07:00
Jürg Lehni
219ccd2fdd Start making exportSVG() work for node, using jsdom. 2013-05-08 01:30:14 -07:00
Jürg Lehni
fc71db458b More work on node.js version. 2013-05-08 01:13:41 -07:00
Jürg Lehni
b59a98f7ce Add jQuery style aliases to Callback and use #on() in the examples rather than #attach(). 2013-05-06 20:56:58 -07:00
Jürg Lehni
d9e2d2a94a Fix console logging. 2013-05-04 14:27:53 -07:00
Jürg Lehni
eb8ebca097 Run BooleanOperations.html code asynchronously for immediate feedback. 2013-05-04 14:26:29 -07:00