Commit graph

87 commits

Author SHA1 Message Date
Jonathan Puckey
ace2e3e13b Improve several examples. 2013-03-09 16:02:11 +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
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
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
6808dc4b1c PathEditing example: add black stroke to paths. 2011-07-17 18:16:47 +02:00
Jonathan Puckey
61fa298780 Add PathEditing example, which shows of hit-testing of paths. 2011-07-17 17:57:44 +02:00
Jürg Lehni
5655981f6d Clean up white spaces. 2011-07-07 16:09:02 +02:00
Jürg Lehni
93518c07dc Merge branch 'master' of github.com:paperjs/paper.js 2011-07-01 11:04:53 +02: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
a26a292783 Don't use keepAlive option in examples. 2011-06-29 13:44:06 +02:00
Jürg Lehni
23a0db603f No need to set text fillColor to black anymore, as it's the default now. 2011-06-20 20:25:19 +01:00
Jürg Lehni
318ed69ad2 Remove use of characterStyle / paragraphStyle where not necessary. 2011-06-20 18:53:36 +01:00
Jonathan Puckey
a2a8939d5d Path# rename #pointsToCurves to #simplify and #curvesToPoints to #flatten. 2011-06-20 19:17:07 +02:00
Jonathan Puckey
ce2ef52f60 Merge remote branch 'origin/master' 2011-06-20 15:59:19 +02:00
Jonathan Puckey
8cacbfe791 Examples: Replace DrawCurves with PointsToCurves. 2011-06-20 15:58:13 +02:00
Jürg Lehni
811f39f30e Remove redraw() command. 2011-06-20 14:16:59 +01:00
Jürg Lehni
6d771dd5da Clean up. 2011-06-16 22:59:59 +01:00
Jürg Lehni
1b0dca0ea4 Use #fullySelected instead of #selected. 2011-06-16 22:51:18 +01:00
Jürg Lehni
8454709559 Improve Vektor example. 2011-06-16 22:50:27 +01: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
Jürg Lehni
3d06f215c8 Add DrawCurves example, to test new Path#pointsToCurves() feature. 2011-06-05 22:10:26 +01:00
Jonathan Puckey
43f92dd70a Examples: close html tag. 2011-05-31 00:27:39 +02:00
Jonathan Puckey
3f3f6dc575 Add Vektor example to Tools. 2011-05-16 17:57:58 +02:00
Jürg Lehni
cfe968d30e Rename Document -> Project, DocumentView -> ProjectView, paper.document -> paper.project and paper.documents -> paper.projects, to avoid name clashing with window.document. 2011-05-16 13:33:15 +01:00
Jürg Lehni
08c03192b6 Fix examples to use view.bounds/size/center instead of document.bounds/size. 2011-05-16 12:51:20 +01:00
Jürg Lehni
3078e74f27 Let's not use variable chaining in examples, for clearer code. 2011-05-15 11:36:10 +01:00
Jürg Lehni
3feb45addc Add keepalive attribute to canvas to tag that controls wether it animates in background in emulated requestAnimationFrame() function, and use it in all example files. 2011-05-14 13:04:02 +03:00
Jonathan Puckey
314619e0a3 Simplify Worm Farm example. 2011-05-06 17:38:01 +01:00
Jonathan Puckey
020ab4e8bb Some work on the Worm Farm example. 2011-05-06 17:11:46 +01:00
Jonathan Puckey
c05eb9bfde Rework the Clouds example a bit. 2011-05-06 15:54:36 +01:00
Jonathan Puckey
1587ac857d Simplify Circles example. 2011-05-06 15:51:26 +01:00
Jonathan Puckey
59a776f58d Examples: resize='true' -> resize. 2011-05-05 20:08:13 +01:00
Jonathan Puckey
f5aa8d5925 Remove a few examples. 2011-05-05 18:54:38 +01:00
Jonathan Puckey
1311acea82 BezierTool: wrap explanation text in a paragraph tag. 2011-05-05 18:44:03 +01:00
Jonathan Puckey
077dc58222 Make all examples resize to the size of the browser window. 2011-05-05 16:25:17 +01:00
Jürg Lehni
e0edddd5f6 Clean up code ('){' -> ') {')). 2011-05-03 08:57:09 +01:00
Jürg Lehni
66465541c6 Clean up code (if() -> if ()). 2011-05-03 08:55:01 +01:00
Jürg Lehni
52a73e86ce Clean up code (for() -> for ()). 2011-05-03 08:54:13 +01:00
Jonathan Puckey
e2bc249dd8 Add Stars example. 2011-04-26 16:46:36 +02:00
Jonathan Puckey
38a1ce0b6a Update Circles example. 2011-04-23 16:30:29 +02:00
Jonathan Puckey
ffc5c6d981 Fix BezierTool to work with new segment selection code. 2011-04-22 18:42:32 +02:00
Jonathan Puckey
877e9f324c Add port of Metaball script by Hiroyuki Sato to Examples. 2011-04-20 15:41:09 +02:00
Jonathan Puckey
0bc1a9aac6 Simplify BezierTool example. 2011-04-18 18:12:00 +02:00
Jonathan Puckey
114c058fc6 BezierTool: check segment.point first. 2011-04-18 17:31:05 +02:00
Jonathan Puckey
25b7219536 BezierTool example: small adjustment to instructions. 2011-04-18 15:42:41 +02:00
Jonathan Puckey
8da6e7b883 BezierTool example: click and drag segment handles and points to move them and close the path when clicking on the first segment. 2011-04-18 15:29:18 +02:00
Jürg Lehni
306c22e00c Remove TODO about bug that was fixed in the meantime. 2011-03-25 19:57:49 +02:00
Jonathan Puckey
1bb9a262d9 Add VoronoiTool to examples (work in progress). 2011-03-09 19:40:34 +01:00