Commit graph

185 commits

Author SHA1 Message Date
Jonathan Puckey
c167920480 Examples: replace use of deprecated functions. 2011-06-19 17:37:43 +02:00
Jonathan Puckey
e77caf610b Update BouncingBalls example to the version on Paperjs.org 2011-06-19 17:34:32 +02:00
Jonathan Puckey
26f326e32d Add Fitting example to scripts. 2011-06-19 16:45:29 +02:00
Jonathan Puckey
57e23950c2 Change image used in DivisionRaster example. 2011-06-19 15:18:17 +02:00
Jonathan Puckey
fcb7a74610 Clean up DivisionRaster example. 2011-06-19 15:01:53 +02:00
Jonathan Puckey
faf9b453d1 Clean up the PhyllotaxisRaster example and use Item#fitBounds instead of stretching the image. 2011-06-19 03:43:47 +02:00
Jonathan Puckey
a0dbf3eb45 Add DivisionRaster example. 2011-06-19 03:32:07 +02: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
Jürg Lehni
25541b6c6c Add a switch to CurveTimeParametrization example that allows the use of #curvesToPoints() instead of #getParameter(). 2011-06-05 13:22:06 +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
Jürg Lehni
b52abbfbc1 Replace removed 'hidden' property with 'visible'. 2011-05-19 21:55:51 +01:00
Jonathan Puckey
a7fc55c998 Small update to Phyllotaxis Raster. 2011-05-19 18:42:03 +02:00
Jonathan Puckey
9c9b498e4a Simplify Extruded example. 2011-05-19 17:16:19 +02:00
Jonathan Puckey
958c19c572 Update Chain example. 2011-05-19 17:15:42 +02:00
Jonathan Puckey
1e18c38d35 Optimize the PhyllotaxisRaster example and use an image of a sunflower. 2011-05-19 17:00:08 +02:00
Jürg Lehni
e49b02b8c1 Just use layer.position to (re-)position all stars. 2011-05-18 21:32:34 +01:00
Jonathan Puckey
7e85c06b13 Add Phyllotaxis Raster example to Scripts. 2011-05-18 16:03:25 +02:00
Jonathan Puckey
3f3f6dc575 Add Vektor example to Tools. 2011-05-16 17:57:58 +02:00
Jürg Lehni
b65ec49207 Merge remote-tracking branch 'origin/master' 2011-05-16 14:26:48 +01:00
Jonathan Puckey
06f738d4db Add PathStructure example to Scripts. 2011-05-16 15:26:07 +02:00
Jürg Lehni
378952666a Clean ups. 2011-05-16 13:42:23 +01: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
074e121f47 Switch to onResize event. Needs more work on view bounds to work nicely. 2011-05-16 01:30:09 +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
Jonathan Puckey
4ecf6d2715 Raster example: remove unnecessary document.redraw call. 2011-05-15 15:37:33 +02: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
2fd1873b1a Update Raster example to use onFrame event.delta / event.time for raster transformations. 2011-05-11 23:02:36 +02:00
Jonathan Puckey
b7f28140e7 Rework Smoothing example. 2011-05-08 19:14:22 +01:00
Jonathan Puckey
5ddb8e22d3 Merge remote branch 'origin/master' 2011-05-08 17:33:42 +01:00
Jürg Lehni
4d6ca5c8c6 Prevent default when handling space key. 2011-05-08 17:26:35 +01:00
Jonathan Puckey
9b295ab649 Rework RotationRaster example. 2011-05-08 17:20:23 +01:00
Jonathan Puckey
b0e91c0173 Merge remote branch 'origin/master' 2011-05-08 16:47:32 +01:00
Jonathan Puckey
822047cde0 Rework Bouncing Balls example. 2011-05-08 15:44:19 +01:00
Jürg Lehni
742c9da822 More work on key handling and rename KeyEvent#keyCode -> KeyEvent#key. 2011-05-08 15:16:41 +01:00
Jürg Lehni
b26caee702 Improve key event handling, work in progress. 2011-05-08 13:43:52 +01:00
Jürg Lehni
926fffee4a Rename Event -> DomEvent and Element -> DomElement, to be more specific and not clash with other classes, e.g. a future base class for ToolEvent and KeyEvent. 2011-05-08 10:16:11 +01:00
Jonathan Puckey
d2de9c29d7 RadialRainbows.html example: use onFrame instead of setInterval and fix a bug in the window resizing code. 2011-05-07 13:58:22 +01:00
Jürg Lehni
1e1a58e540 Correct case on example files. 2011-05-07 13:44:38 +01: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