Commit graph

168 commits

Author SHA1 Message Date
Jonathan Puckey
511eef50f6 Flock example: move the onresize function to the top, and resize the document before creating the boids. 2011-04-28 21:23:30 +02:00
Jonathan Puckey
be7ccdbe17 Flock example: fix small bug. 2011-04-28 21:18:10 +02:00
Jonathan Puckey
c0febab6c1 Flock example: remove unused variable. 2011-04-28 21:16:05 +02:00
Jonathan Puckey
3751dd0a38 Small change to Flock example. 2011-04-28 21:13:51 +02:00
Jonathan Puckey
de466edc23 Flock example: space bar toggles selection state of items in the document. 2011-04-28 20:57:04 +02:00
Jonathan Puckey
1781b53b55 Flock example: resize the document whenever the browser window is resized. 2011-04-28 20:46:24 +02:00
Jürg Lehni
b5d1662b58 Shorten definition of heart shape. 2011-04-27 23:19:33 +01:00
Jürg Lehni
6a483fa8be Rename CurveLocation related functions to *At(offset), and add optional isParameter argument that defines whether offset is a length or a description of curve index / curve parameter. 2011-04-27 21:40:52 +01:00
Jürg Lehni
5200434a07 Move lines.html to Animated folder. 2011-04-27 20:55:28 +01:00
Jonathan Puckey
5ab38268fc Add Extruded example. 2011-04-26 16:04:55 +02:00
Jonathan Puckey
2184fa144b Some minor changes to the Flock example. 2011-04-26 16:01:41 +02:00
Jonathan Puckey
b73afe3fc0 Select paths in smoothing example. 2011-04-26 15:53:38 +02:00
Jonathan Puckey
520e540da7 Update Raster example to use onFrame. 2011-04-26 15:43:01 +02:00
Jonathan Puckey
29e27c932e Update Smoothing example. 2011-04-23 16:23:31 +02:00
Jonathan Puckey
36ba812f39 Add path smoothing example. 2011-04-23 15:47:28 +02:00
Jonathan Puckey
ff3d5aca17 Flock example: remove red connection paths. 2011-04-23 14:35:54 +02:00
Jürg Lehni
28c9254695 Rename onFrameLoop to onFrame. 2011-04-22 16:31:46 +01:00
Jonathan Puckey
357e6f2db8 Some more work on the Flock example. 2011-04-20 13:07:40 +02:00
Jonathan Puckey
63f1c66be3 Flock: credits & small changes. 2011-04-19 23:32:34 +02:00
Jonathan Puckey
4d6687fd8d Flock: simplify grouping. 2011-04-19 21:38:06 +02:00
Jonathan Puckey
3acb954350 Add Flock example. 2011-04-19 21:27:59 +02:00
Jonathan Puckey
d67953c1da RoundedRectangles: use onFrameLoop and other small changes. 2011-04-18 17:48:48 +02:00
Jonathan Puckey
277cf541de Small simplification in RadialRainbows example. 2011-04-07 17:05:25 +02:00
Jonathan Puckey
e76b6db5c0 Update RadialRainbows example to use the new changes in Gradient. 2011-04-07 17:02:46 +02:00
Jürg Lehni
1267f41559 Add beginning of ObservedRectangle support and test it in animatedStar example. 2011-03-16 23:32:46 +01:00
Jürg Lehni
2fcca38a9c Add support for onFrameLoop() callback to PaperScript. 2011-03-14 22:34:09 +01:00
Jürg Lehni
7e46eeabc4 Use the experimental Event.requestAnimationFrame() rather than setInterval(). 2011-03-14 22:21:27 +01:00
Jürg Lehni
4ec8847859 Use the experimental Event.requestAnimationFrame() rather than setInterval(). 2011-03-14 22:20:04 +01:00
Jonathan Puckey
1ae89049ed Make the RadialRainbows example interaction smoother. 2011-03-09 17:08:20 +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
Jonathan Puckey
8bfa4e6073 Update RadialRainbows example to use Color#hue. 2011-03-07 16:07:30 +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
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
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
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
Jürg Lehni
86a74ca0ef Update doc-type to HTML5. 2011-02-21 14:31:26 +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
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
4395caf41f Tool: add support for Tool#onMouseMove(event) and add RoundedRectangles example 2011-02-14 22:43:14 +01:00
Jürg Lehni
08d4826441 Reformating code to follow Scriptotgrapher coding conventions. 2011-02-13 16:26:24 +00: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
cac4bea955 Move examples into subfolders. 2011-02-08 13:16:26 +01:00