Commit graph

142 commits

Author SHA1 Message Date
Jürg Lehni
80a725d08a Rename Item#transformContent to the more correct Item#applyMatrix 2014-03-02 16:04:17 +01:00
Jürg Lehni
3219b36c3d Some code cleanup in examples. 2014-03-01 22:52:20 +01:00
Jürg Lehni
7c5d377133 Improve Space examples. 2013-12-06 22:28:13 +01:00
Jürg Lehni
1f98d72c5b Switch HiDPI on by default.
Allow deactivation by setting the hidpi attribute to "off" on the canvas.
2013-11-06 15:32:08 +01:00
Jürg Lehni
4dcb0d66a9 Update most examples to HiDPI. 2013-11-06 12:53:50 +01:00
Jürg Lehni
f07f4ac977 Fix example titles. 2013-11-04 11:43:27 +01:00
Jürg Lehni
7f251b78e3 Switch to HTML5 meta charset tags. 2013-06-02 13:41:10 -07:00
Jürg Lehni
cebeb11301 Rename Json acronyms in API to JSON. 2013-04-23 07:13:51 -07:00
Jürg Lehni
1cbb303941 Add SpaceUsingShapes.html, as an example for Shape.Circle() 2013-04-21 09:00:53 -07:00
Jonathan Puckey
03d98ecc09 Improve Lines example by cleaning up the code and make it run a little less hot. 2013-03-10 23:38:27 +01:00
Jonathan Puckey
0c125149e1 Move Tadpoles example to Paperjs.org folder. 2013-03-02 21:14:28 +01:00
Jonathan Puckey
9260717bb8 Examples: move Smoothing example to Paperjs.org folder. 2013-03-02 20:59:27 +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
1346b7d4c0 Lines example: use new notation for creating paths. 2013-03-02 20:51:44 +01:00
Jonathan Puckey
676a207871 Update Tadpoles example to use Project#importJson. 2013-03-02 16:06:31 +01:00
Jonathan Puckey
945a7220ee Update Animated Star example. 2013-03-02 16:02:29 +01:00
Jonathan Puckey
2eafb73912 Update extruded example to use Project#importJson. 2013-03-02 15:58:38 +01: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
Jonathan Puckey
e1bb0a23e7 Fix RadialRainbows example.
The example stopped working, because we were changing values on another gradient colour object than the one used by the path: the color is cloned when passed to path.fillColor
2012-11-22 20:59:09 +01:00
Jonathan Puckey
d12c680be6 Fix bug in Tadpoles example.
Fixes a bug where the segments array of a path was being changed directly, which caused the bounds to not be updated.
2012-11-22 20:59:08 +01:00
Jürg Lehni
28642bd1c8 Rename Path.Oval() to Path.Ellipse(), and deprecate Path.Oval(). 2012-11-06 11:37:00 -08: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
Jürg Lehni
5655981f6d Clean up white spaces. 2011-07-07 16:09:02 +02:00
Jonathan Puckey
458b03ff43 Move Raster related examples to examples/Rasters 2011-07-05 18:28:21 +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
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
45f8c7cd1a Examples: Added more descriptive titles to each example html page 2011-06-30 09:57:17 -04:00
Jonathan Puckey
7ee7895d57 Clean up Future Splash example a bit. 2011-06-30 14:01:18 +02:00
Jonathan Puckey
d8f54b1c9b Add FutureSplash example. 2011-06-30 13:55:35 +02:00
Jonathan Puckey
a26a292783 Don't use keepAlive option in examples. 2011-06-29 13:44:06 +02:00
Jonathan Puckey
c622d1419a Improve RadialRainbows example. 2011-06-29 13:30:04 +02:00
Jonathan Puckey
2010f1b8d5 Clean up Tadpoles example. 2011-06-28 12:20:29 +02:00
Jürg Lehni
8d2cee16c5 Flock Example: Rename to Tadpoles. 2011-06-24 19:47:13 +01:00
Jürg Lehni
b910d9ee61 Flock Example: Remove Stats. 2011-06-24 19:46:16 +01:00
Jonathan Puckey
52175da3e9 Improve RoundedRectangles example. 2011-06-21 20:10:23 +02:00
Jonathan Puckey
531e0bb203 Add Space example. 2011-06-21 14:54:29 +02:00
Jürg Lehni
909bb6310f Shorten RadialRainbows. 2011-06-20 22:54:45 +01:00
Jonathan Puckey
ac310ecc04 Fix RadialRainbows example. 2011-06-20 23:20:39 +02:00
Jürg Lehni
8fb97a973a Remove stats for now since it is not included in built library. 2011-06-20 18:36:03 +01:00
Jürg Lehni
322a427208 Flock: Use Symbol#place() instead. 2011-06-20 17:52:46 +01:00
Jürg Lehni
02408fc47e Flock example: Reuse prepared symbol definition. 2011-06-20 17:51:39 +01:00
Jürg Lehni
08313a7f64 Smoothing example: Select path fully. 2011-06-20 16:40:30 +01:00
Jürg Lehni
07d3cbb807 Remove dashes from Flock. 2011-06-20 15:32:53 +01:00
Jonathan Puckey
c167920480 Examples: replace use of deprecated functions. 2011-06-19 17:37:43 +02:00
Jürg Lehni
4d12cb87fc Switch from "out" folder for built library to "dist". 2011-06-12 19:03:18 +01:00
Jürg Lehni
5e4192198b Change all examples to load the latest compiled library from out/paper.js. 2011-06-12 18:42:12 +01:00
Jonathan Puckey
43f92dd70a Examples: close html tag. 2011-05-31 00:27:39 +02:00
christophknoth
87409c5268 </html> missing 2011-05-30 15:13:25 -07:00
Jonathan Puckey
9c9b498e4a Simplify Extruded example. 2011-05-19 17:16:19 +02:00