Commit graph

98 commits

Author SHA1 Message Date
Jürg Lehni
97abd80bab Replace all occurences of Math.sqrt(2) with Math.SQRT2 2016-12-29 10:56:06 +01:00
Jürg Lehni
e0a0cd58d5 PaperScript: Improve tool detection code.
And implement Multiple Tools example.
2016-04-13 15:21:35 -07:00
Jürg Lehni
b71e3a44d9 Fix #981: Make sure event.delta is always calculated correctly.
The first mousemove / mousedrag events wrongly received the delta from the last mouseup event.
2016-02-19 13:49:06 +01:00
Jürg Lehni
48cb05a181 Replace tabs with 4 white-spaces. 2014-08-16 19:24:54 +02:00
Jürg Lehni
fe064e9cc3 Switch from dist/paper.js to dist/paper-full.js and explain the different versions in the README.
Closes #422.
2014-04-06 13:44:19 +02:00
Jürg Lehni
3219b36c3d Some code cleanup in examples. 2014-03-01 22:52:20 +01:00
Jürg Lehni
7f251b78e3 Switch to HTML5 meta charset tags. 2013-06-02 13:41:10 -07:00
Jürg Lehni
90f2614d52 Export Numerical object and move KAPPA constant there. 2013-04-19 17:03:41 -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
1b57b1eb15 Fix Stars example. 2013-03-10 18:09:51 +01:00
Jonathan Puckey
c9e95d2c01 Improve examples. 2013-03-09 16:28:53 +01:00
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