Commit graph

73 commits

Author SHA1 Message Date
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
dff0c595f0 Add simple CompoundPath example. 2011-05-15 19:14:21 +01:00
Jürg Lehni
cd7544c7c7 Switch examples to using event.count in onFrame(). 2011-05-15 18:12:56 +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
9b295ab649 Rework RotationRaster example. 2011-05-08 17:20:23 +01:00
Jonathan Puckey
822047cde0 Rework Bouncing Balls example. 2011-05-08 15:44:19 +01:00
Jürg Lehni
1e1a58e540 Correct case on example files. 2011-05-07 13:44:38 +01:00
Jonathan Puckey
29863b852a BouncingBalls example: use onFrame for animation and simplify some things. 2011-05-06 15:34:27 +01:00
Jonathan Puckey
3dbd6bc91b Some simplifications to the roundRectangle example. 2011-05-06 15:03:21 +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
077dc58222 Make all examples resize to the size of the browser window. 2011-05-05 16:25:17 +01:00
Jürg Lehni
61a4464aae Remove uneeded sample. 2011-05-05 11:40:19 +01:00
Jürg Lehni
78ce0831e3 Remove console.log(). 2011-05-04 19:43:06 +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
Jürg Lehni
5200434a07 Move lines.html to Animated folder. 2011-04-27 20:55:28 +01:00
Jonathan Puckey
8f3e6f44a7 Update lines example to use onFrame. 2011-04-26 15:51:56 +02:00
Jürg Lehni
7c51369426 Clean up Curve Time Parametrization example. 2011-04-26 12:31:35 +01:00
Jürg Lehni
4f8ffde130 Clean up Chain example a bit. 2011-04-21 12:36:46 +01:00
Jürg Lehni
d25ab05e25 Simplify vector geometry in Chain example. 2011-04-20 23:29:46 +01:00
Jonathan Puckey
d8b933957a Add Chain example. 2011-04-19 23:32:45 +02:00
Jonathan Puckey
4d5f4b32fc Letter example: select path to show how it is constructed. 2011-04-17 18:55:16 +02:00
Jonathan Puckey
f8548ca6d4 strokeBounds example: select one path, to show how it is constructed. 2011-04-17 18:49:54 +02:00
Jürg Lehni
d99d07bda0 Update curve time parametrization example. 2011-03-20 11:41:58 +00:00
Jürg Lehni
c1d70c90bb Add example for curve time parametrization testing. 2011-03-20 00:11:06 +00:00
Jonathan Puckey
38018c83f6 Lines example: use 'new Date().getTime()' instead of 'Date.now()'. 2011-03-12 15:33:09 +01:00
Jonathan Puckey
6430baa858 Some small changes to lines example. 2011-03-12 15:28:01 +01:00
Jonathan Puckey
f39895a945 Update lines.html example. 2011-03-12 15:17:08 +01:00
Jonathan Puckey
ba42884f57 Move RotationRaster.html from Animated to Scripts. 2011-03-09 13:51:54 +01:00
Jürg Lehni
34a6c7871c Clean-up loading code. 2011-03-08 01:07:26 +00:00
Jürg Lehni
4680283ce7 Simply use document.write() for script loading, as load.js seems not ready for primetime yet (it magically half-broke QUnit on Safari). 2011-03-08 00:58:47 +00:00
Jürg Lehni
798bcd709a Since Firefox does not seem to support the <base> tag for script loading, roll our own solution through the load.js calls. 2011-03-07 23:11:41 +00:00
Jürg Lehni
e32549aaf2 Switch to using load.js for loading the various parts of the library during development. 2011-03-07 18:36:42 +00:00
Jürg Lehni
9fdbd0146d Rename MathUtils to Numerical. 2011-03-07 00:21:04 +00:00
Jürg Lehni
6735218ab5 Merge remote-tracking branch 'origin/master' 2011-03-06 14:59:30 +00:00
Jürg Lehni
04a13bce19 Add strokeBounds example, and a test for stroke transformation with symbols. 2011-03-06 14:59:11 +00:00
Jonathan Puckey
22abd41aac Revert changes to BouncingBalls example. 2011-03-06 15:52:38 +01:00
Jonathan Puckey
78e6633804 Add missing BlendMode dependency to examples. 2011-03-06 15:47:55 +01:00
Jonathan Puckey
0faab51a9f Add missing CanvasProvider.js dependency to Examples. 2011-03-06 15:10:35 +01:00
Jürg Lehni
1607d744ef Implicitely call document.redraw() at the end of PaperScript execution. 2011-03-05 22:02:53 +00:00
Jürg Lehni
3e4c49cb44 Make sure Events.js gets loaded in all examples. 2011-03-05 00:02:25 +00:00
Jonathan Puckey
bb5bfe1fb1 Examples: change mouse handlers to PaperScript. 2011-03-04 12:44:02 +01:00
Jonathan Puckey
e1a6c4f3d0 Update examples to PaperScript. 2011-03-04 12:38:38 +01:00
Jürg Lehni
7e52355f93 Rename Doc -> Document since paper code is namespaced now and does not clash with global Document prototype. 2011-03-03 17:23:27 +00:00
Jürg Lehni
a543801598 Rename Bootstrap.js file to lowercase bootstrap.js. 2011-03-03 16:56:31 +00:00
Jonathan Puckey
02943c4190 Add missing CanvasProvider.js dependency to Examples. 2011-03-03 17:04:14 +01:00
Jürg Lehni
07fcc000cf Move the new refactored CanvasDraw functionality to static Item.draw() and #draw() instance methods on each prototype. 2011-03-03 12:19:43 +00:00