Jürg Lehni
413e4efce4
Fix small error in PathStructure example.
2014-01-05 18:57:52 +01:00
Jürg Lehni
6e5d8939d5
Rename View#draw() -> View#update() and remove checkRedraw argument.
...
We always check for changes, since change propagation should work reliably.
2013-12-08 19:15:58 +01:00
hkrish
551b49805c
Add special case to examples.
2013-11-11 21:21:41 +01:00
Jürg Lehni
2066fae47a
Use option.expandShapes to restore boolean examples.
2013-10-29 16:47:27 +01: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
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
6d751fc466
Add mouse hovering to StrokeBounds example.
2013-08-16 16:40:26 -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
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
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
7f251b78e3
Switch to HTML5 meta charset tags.
2013-06-02 13:41:10 -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
Jürg Lehni
ee8a79449b
Include BooleanOperations.html
2013-05-03 16:31:36 -07:00
Jürg Lehni
9efbc288a1
Merge Path.Rectangle and Path.RoundRectangle.
2013-04-19 12:36:49 -07:00
Jürg Lehni
5209e97c8d
Merge GradientColor into Color.
...
Work in progress.
2013-04-09 01:21:36 -07:00
Jürg Lehni
9cdc4b9372
Switch back to only one Gradient constructor for both linear and radial Gradients.
2013-04-08 20:52:21 -07:00
Jürg Lehni
232ea221b4
First batch of large Color refactoring and simplification.
...
Work in progress.
2013-04-07 10:03:51 -07:00
Jonathan Puckey
ace2e3e13b
Improve several examples.
2013-03-09 16:02:11 +01:00
Jonathan Puckey
2dfe491212
Improve PathStructure example.
2013-03-09 15:58:39 +01:00
Jonathan Puckey
421c3c19e3
Remove Letter example.
2013-03-09 15:26:59 +01:00
Jonathan Puckey
ba86ec8688
Remove Circle example.
...
Removing because the example doesn't really show off anything.
2013-03-09 15:01:46 +01:00
Jürg Lehni
c9e337836a
Move BouncingBalls example to Paper.js folder.
2013-03-03 14:38:27 -08:00
Jonathan Puckey
3db61a3509
Examples: Move improved and simplified version of Bouncing Balls to Paperjs.org folder.
2013-03-02 20:58:56 +01:00
Jonathan Puckey
b124d23078
Move examples which are featured on paperjs.org website to Paperjs.org folder.
2013-03-02 20:54:52 +01:00
Jonathan Puckey
e7475d5980
Update Chain example.
2013-03-02 18:35:10 +01:00
Jonathan Puckey
8ab70fd0de
Update Arcs example.
2013-03-02 17:05:56 +01:00
Jürg Lehni
5afa1b1688
Allow direct passing of color arguments to gradient constructors as well as arrays.
2013-03-01 17:44:16 -08:00
Jürg Lehni
58fad6ed72
Switch from Gradient#type to separate LinearGradient / RadialGradient classes.
...
But remain backward compatible through direct calls to Gradient constructor.
2013-03-01 17:39:36 -08:00
Jürg Lehni
779d076f02
Merge pull request #155 from ubershmekel/patch-1
...
Fixed memory leak
2013-02-14 12:47:56 -08:00
Jürg Lehni
1a438b8b9b
Change Curve#[getPoint / getTangent / getNormal](t) to #[getPoint / getTangent / getNormal](offset, isParamter).
...
Keep deprecated versions around for now.
2013-01-28 16:30:28 -08:00
Yuval Greenfield
27781d44ac
Fixed memory leak
...
The original technique isn't horrible when it happens
once per mouse move but if used once per frame it completely
destroys the browser.
To see the leak in the chrome task manager - furiously move the
mouse and see the top cpu process keep rising in memory usage.
2012-12-31 23:46:53 +02:00
Jonathan Puckey
1fd3d727d2
Fix Bouncing Balls example.
2012-11-22 21:08:17 +01:00
Jonathan Puckey
3bf473924a
Remove Scripts/Fitting.
...
Scripts/Resize demonstrates the same functionality.
2012-11-22 21:01:26 +01:00
Jürg Lehni
e9a9066d7f
Use group creation without explicit array declaration, as that's been supported all along.
2012-11-06 20:37:50 -08:00
Jonathan Puckey
3634e7b866
Add example demonstrating onResize and Item#fitBounds.
2012-03-01 14:30:14 +01:00
Jürg Lehni
597a59e90c
Increase font size.
2011-12-27 20:40:22 +01:00
Jonathan Puckey
d631288dc7
Fire resize event directly after evaluation, so we don't need to call onResize ourselves from PaperScript.
2011-11-12 16:31:22 +01:00
Jürg Lehni
42d0e722db
Rename RGBColor -> RgbColor, to avoid clash with native constructor, and follow same naming convention for HsbColor and HslColor, but keep references to old names for PaperScript scopes for now.
2011-11-10 19:16:34 +01:00
Jonathan Puckey
7772bfc2c9
HSLColor example: change the background color to black.
2011-07-09 16:21:02 +02:00
Jonathan Puckey
984af9c93b
Use radial gradients in HSLColor example.
2011-07-09 16:19:15 +02:00
Jonathan Puckey
b667a04cb6
Improve and simplify HSLColor example.
2011-07-08 14:47:34 +02:00
Jürg Lehni
5655981f6d
Clean up white spaces.
2011-07-07 16:09:02 +02:00
Jürg Lehni
f357eb4a21
Merge pull request #20 from gka/hsl-color
...
added support for HSL colors
2011-07-06 14:37:19 -07:00
Jürg Lehni
b13c7622c8
Rename Curve#getParameter(length) -> Curve#getParameterAt(offset)
2011-07-06 23:13:38 +02:00
Jonathan Puckey
458b03ff43
Move Raster related examples to examples/Rasters
2011-07-05 18:28:21 +02:00