Commit graph

143 commits

Author SHA1 Message Date
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
gka
0e37d9e93d added support for HSL colors
new class HSLColor, new test script HSLColor.html
2011-07-05 15:38:32 +02:00
Jürg Lehni
189e15b1e8 Remove console logging. 2011-07-01 12:56:30 +02:00
Jürg Lehni
9fa51a0457 Implement Item#controlBounds and Path#controlBounds, and test it in StrokeBounds example. This is a first step towards fast hit-testing. 2011-07-01 12:51:18 +02:00
Jürg Lehni
93518c07dc Merge branch 'master' of github.com:paperjs/paper.js 2011-07-01 11:04:53 +02:00
Jürg Lehni
81dd35d3fb Merge pull request #11 from rdworth/examples_title
Examples: Added more descriptive titles to each example html page
2011-07-01 01:59:03 -07:00
Jürg Lehni
0a719d909a Merge pull request #15 from rdworth/example_strokebounds_semicolons
Example: Stroke Bounds: Added two missing semicolons, example is broken w
2011-07-01 01:56:59 -07:00
Richard D. Worth
10e36f98ee Examples: Uncommented out doctype in a few example html files to avoid quirks mode 2011-06-30 21:20:09 -04:00
Richard D. Worth
7085eeae51 Example: Stroke Bounds: Added two missing semicolons, example is broken without them. 2011-06-30 21:04:16 -04:00
Richard D. Worth
b47d988fb3 Examples: Renamed a few html files to correct one typo and fix inconsistency with spaces in filenames 2011-06-30 10:07:05 -04:00
Richard D. Worth
45f8c7cd1a Examples: Added more descriptive titles to each example html page 2011-06-30 09:57:17 -04:00
Jonathan Puckey
3ddf2b40ca Clean up PathStructure example. 2011-06-30 10:49:54 +02:00
Richard D. Worth
1ab78ba594 Examples: Path Structure: refactored to handle resize as well as to display label for first point (number 0 as text content is falsy) 2011-06-29 16:12:51 -04:00
Jonathan Puckey
a26a292783 Don't use keepAlive option in examples. 2011-06-29 13:44:06 +02:00
Jonathan Puckey
b7ba11c9b8 Cleanup StrokeBounds example. 2011-06-28 12:13:13 +02:00
Jürg Lehni
318ed69ad2 Remove use of characterStyle / paragraphStyle where not necessary. 2011-06-20 18:53:36 +01:00