Commit graph

98 commits

Author SHA1 Message Date
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
Jonathan Puckey
81f48e2168 Add SquareRounded.html example. 2011-03-09 16:15:01 +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
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
95e39bcf30 Set a strokeColor, as the default seems to be invisible? 2011-03-05 00:02:46 +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
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
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
Jürg Lehni
86a74ca0ef Update doc-type to HTML5. 2011-02-21 14:31:26 +01:00
Jonathan Puckey
e772038727 Update examples. 2011-02-20 23:28:38 +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
ab098ddca3 Add Path.Constructors.js to examples and tests. 2011-02-17 15:56:07 +01:00
Jonathan Puckey
7e5cb1cc81 Examples: clean up scripts list and add PathStyle.js. 2011-02-16 22:35:17 +01:00
Jonathan Puckey
4e0bf98035 Tools Examples: no need to set the document anymore. 2011-02-15 00:07:02 +01:00
Jürg Lehni
08d4826441 Reformating code to follow Scriptotgrapher coding conventions. 2011-02-13 16:26:24 +00: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
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