Commit graph

564 commits

Author SHA1 Message Date
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
Jonathan Puckey
8bfa4e6073 Update RadialRainbows example to use Color#hue. 2011-03-07 16:07:30 +01: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
4cda395ab3 Add Rotation Raster to Examples. 2011-03-06 15:11:18 +01:00
Jonathan Puckey
0faab51a9f Add missing CanvasProvider.js dependency to Examples. 2011-03-06 15:10:35 +01:00
Jonathan Puckey
a6fdaf85d8 Add Raster example. 2011-03-06 13:08:24 +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
95e39bcf30 Set a strokeColor, as the default seems to be invisible? 2011-03-05 00:02:46 +00:00
Jürg Lehni
3e4c49cb44 Make sure Events.js gets loaded in all examples. 2011-03-05 00:02:25 +00:00
Jürg Lehni
20f3460222 Update BezierTool to work wtihout full Bootstrap. 2011-03-04 23:33:48 +00:00
Jürg Lehni
551b28e27c Update tool scripts to load Events object. 2011-03-04 23:33:16 +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
7bc56d4c39 Convert MultiLines examples to PaperScript. 2011-03-04 01:05:41 +00: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
Jürg Lehni
e9881c02fc Merge remote-tracking branch 'origin/master' 2011-03-03 16:33:01 +00:00
Jürg Lehni
d088dc629e Rename Paper to paper, implement it as an object literal and add paper.populate() and paper.install() methods that do the bootstraping. 2011-03-03 16:21:17 +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
Jonathan Puckey
acf06937f5 BouncingBalls example: remove line which was committed by accident. 2011-03-03 02:30:55 +01:00
Jonathan Puckey
83df699975 Update dependencies of examples. 2011-03-03 02:27:46 +01:00
Jürg Lehni
fd4b7b76ae Include DocumentView.js in all examples and tests. 2011-03-02 16:18:32 +00:00
Jonathan Puckey
b03ad9b090 Some small changes BezierTool example. 2011-02-27 17:42:30 +01:00
Jonathan Puckey
196f89d9a7 Examples: Add simple BezierTool example. 2011-02-27 17:16:42 +01:00
Jonathan Puckey
44aa9254ea Change BouncingBalls example to use event.delta for throwing balls. 2011-02-21 15:32:59 +01:00
Jürg Lehni
86a74ca0ef Update doc-type to HTML5. 2011-02-21 14:31:26 +01:00
Jonathan Puckey
e898f0482c Revert previous commit of BouncingBalls example. 2011-02-21 03:37:35 +01:00
Jonathan Puckey
357a8af6ec Clean up white spaces. 2011-02-21 03:32:39 +01:00
Jonathan Puckey
e772038727 Update examples. 2011-02-20 23:28:38 +01:00
Jonathan Puckey
a41a762237 Add example of radial gradients. 2011-02-19 22:52:27 +01:00
Jonathan Puckey
8d570d0834 Fix script paths in examples. 2011-02-19 17:56:15 +01:00
Jonathan Puckey
2e5a84b9ba Update examples to include Color dependencies. 2011-02-19 17:54:10 +01:00
Jonathan Puckey
deb1699f13 Tidy up code. 2011-02-17 16:00:03 +01:00
Jonathan Puckey
ab098ddca3 Add Path.Constructors.js to examples and tests. 2011-02-17 15:56:07 +01:00
Jonathan Puckey
66b9b28394 Add BouncingCircles.html example of Group#getBounds(). 2011-02-17 00:35:10 +01:00
Jonathan Puckey
52b69817a0 Clean up animatedStar.html example. 2011-02-16 22:44:05 +01:00
Jonathan Puckey
7e5cb1cc81 Examples: clean up scripts list and add PathStyle.js. 2011-02-16 22:35:17 +01:00
Jonathan Puckey
f92da1297b RoundedRectangles Example: use onMouseDrag for now. 2011-02-15 00:08:11 +01:00
Jonathan Puckey
4e0bf98035 Tools Examples: no need to set the document anymore. 2011-02-15 00:07:02 +01:00
Jonathan Puckey
4395caf41f Tool: add support for Tool#onMouseMove(event) and add RoundedRectangles example 2011-02-14 22:43:14 +01:00
Jürg Lehni
d33a2decab Examples: Close the letterPath. 2011-02-14 01:48:15 +00:00
Jürg Lehni
08d4826441 Reformating code to follow Scriptotgrapher coding conventions. 2011-02-13 16:26:24 +00:00
Jonathan Puckey
783244b393 Clean up strokeJoin example. 2011-02-12 19:12:56 +01:00
Jonathan Puckey
a81f1eb698 Examples: update Circles.html to create a new path on every mouse down. 2011-02-12 18:12:25 +01:00
Jonathan Puckey
9487e48854 Examples: fix links to tool scripts 2011-02-12 18:10:42 +01:00
Jonathan Puckey
c0e2101c32 Clean up src directory and move Bootstrap.js into lib. 2011-02-12 17:59:39 +01:00
Jonathan Puckey
d7fc9cf481 Introduce Paper object that keeps track of documents and which documenti is active. Newly created items are automatically appended to the children list of the active document's activeLayer. 2011-02-12 16:20:10 +01:00
Jonathan Puckey
be4681fecd Remove temp.html 2011-02-12 16:16:15 +01:00
Jonathan Puckey
538bda6a09 Add Layer & Group script tags to Examples 2011-02-11 18:50:08 +01:00
Jonathan Puckey
17f7caf0b7 Use properties instead of get[Property] and set[Property] in examples 2011-02-11 14:58:53 +01:00
Jonathan Puckey
0c53c8b29e Add a few more examples. 2011-02-09 01:10:55 +01:00
Jonathan Puckey
0cefc146bb Add a few mouse tool examples. 2011-02-08 13:16:43 +01:00
Jonathan Puckey
cac4bea955 Move examples into subfolders. 2011-02-08 13:16:26 +01:00
Jonathan Puckey
3bb44f89a3 Add round rectangle example 2011-02-07 20:16:51 +01:00
Jonathan Puckey
fff138d968 Remove SegmentList.js dependencies 2011-02-07 20:16:29 +01:00
Jonathan Puckey
b19ba2014c Initial commit 2011-02-07 19:28:09 +01:00