Commit graph

76 commits

Author SHA1 Message Date
Jürg Lehni
b71ffdbe71 Remove all direct calls to view.update() and favor of the new view.requestUpdate()
Pure window.requestAnimationFrame() smoothness, automatic updates even when working directly from JavaScript, and no more slow-downs from onLoad events!

Closes #830, #925
2016-01-26 21:37:27 +01:00
Jürg Lehni
9f448a97ef Use the correct notation in the new smooth() calls. 2016-01-15 17:25:15 +01:00
Jürg Lehni
af799976d4 Explicitly use continuous smooth in a couple of examples. 2016-01-15 11:29:31 +01:00
Jürg Lehni
5060e83095 Remove selected state in Qbertify example. 2016-01-08 11:46:10 +01:00
Jürg Lehni
6ec34fbb60 Replace Lenna with Marilyn. 2015-05-31 10:50:04 +02:00
Jürg Lehni
5df30c4a7a Clean up FutureSplash code a bit. 2015-03-07 11:05:57 +01:00
Jürg Lehni
c847dd2cc0 Merge pull request #600 from Patak123/patch-1
Update FutureSplash.html
2015-03-06 09:29:13 +01:00
Jürg Lehni
3c31c0e482 Have SVGImport respect the current PaperScope's applyMatrix setting. 2015-01-02 14:19:17 +01:00
Jürg Lehni
54d959df1f Load CSS in all examples. 2014-12-30 00:29:20 +01:00
Patak123
abde29523a Update FutureSplash.html 2014-12-16 16:23:52 +01:00
Jürg Lehni
5006a0557f Remove calls to DomEvent as that's not exposed any longer. 2014-10-08 18:27:48 +02:00
Jürg Lehni
35a02f3dd8 Switch to different mp3 location due to CORS issues. 2014-09-27 13:10:08 +02:00
Jürg Lehni
88c035eb95 Minor comment change. 2014-08-20 16:54:01 +02:00
Jürg Lehni
48cb05a181 Replace tabs with 4 white-spaces. 2014-08-16 19:24:54 +02:00
Jürg Lehni
a775d1eca4 Fix SVG examples that make use of display: none; 2014-05-07 17:32:49 +01:00
Jürg Lehni
fe064e9cc3 Switch from dist/paper.js to dist/paper-full.js and explain the different versions in the README.
Closes #422.
2014-04-06 13:44:19 +02:00
Jonathan Puckey
e0b3361f01 Improve Tadpoles example.
Removed a bunch of unnecessary optimisations, added path smoothing again, use Item#rotation for rotating the heads.
2014-03-18 18:36:14 +01:00
Jürg Lehni
dfac101bfc Revert previous behavior of tadpoles to get them follow their path correctly again. 2014-03-18 10:55:24 +01:00
Jürg Lehni
80a725d08a Rename Item#transformContent to the more correct Item#applyMatrix 2014-03-02 16:04:17 +01:00
Jürg Lehni
3219b36c3d Some code cleanup in examples. 2014-03-01 22:52:20 +01:00
Jürg Lehni
469aa18f1a HitTesting example: Fix dragging of paths and segments. 2014-01-02 10:55:34 +01:00
Jürg Lehni
99d7b5cfdb Merge branch 'refs/heads/fatline' 2013-12-17 22:07:34 +01:00
Jürg Lehni
a59a42376a Clean up coding style a bit. 2013-12-16 21:40:40 +01:00
Jürg Lehni
a51f8d4ee8 Rename Item#anchor -> Item#pivot 2013-12-13 20:50:58 +01:00
Jürg Lehni
a678c51555 Some minor changes in Satie example. 2013-12-11 17:51:58 +01:00
Jürg Lehni
78a2685324 Rename Item#registration to Item#anchor 2013-12-11 14:59:51 +01:00
Jürg Lehni
9e7fe2aa4e No need to run Radial Rainbows in HiDPI mode. 2013-12-11 12:05:14 +01:00
Jürg Lehni
37d5458322 Include Satie Sound Analysis Example. 2013-12-11 02:15:51 +01:00
Jürg Lehni
6e5d8939d5 Rename View#draw() -> View#update() and remove checkRedraw argument.
We always check for changes, since change propagation should work reliably.
2013-12-08 19:15:58 +01:00
Jürg Lehni
31e2c37e0d Clean up Tadpoles code further. 2013-12-08 11:14:36 +01:00
Jürg Lehni
e269ba7cc6 Optimize Tadpoles example.
- Shape instead Symbol
- Directly modify segments instead of copying points
2013-12-08 10:58:19 +01:00
Jürg Lehni
ece14f0151 Fix Tadpoles example. 2013-12-06 03:16:33 +01:00
Jürg Lehni
1f98d72c5b Switch HiDPI on by default.
Allow deactivation by setting the hidpi attribute to "off" on the canvas.
2013-11-06 15:32:08 +01:00
Jürg Lehni
4dcb0d66a9 Update most examples to HiDPI. 2013-11-06 12:53:50 +01:00
Jürg Lehni
ccfacf2484 Fix mediaelement.js path in Nyan example. 2013-10-29 17:35:57 +01:00
Jürg Lehni
5a462f42b7 Improve some comments / docs. 2013-10-29 09:42:59 +01:00
Jürg Lehni
3a1fa3171b Fix Path Intersections example. 2013-06-27 23:26:26 -07:00
Jürg Lehni
7d433406f8 Fix bouncing balls example.
The Clip class is gone.
2013-06-24 09:32:36 -07:00
Jürg Lehni
7f251b78e3 Switch to HTML5 meta charset tags. 2013-06-02 13:41:10 -07:00
Jürg Lehni
7c2e57e105 Remove Item#applyMatrix boolean, go back to previous way of directly applying transformations to children in Group and Layer, and introduce new Clip class for non-transformed nested matrices. 2013-05-13 18:57:17 -07:00
Jürg Lehni
b59a98f7ce Add jQuery style aliases to Callback and use #on() in the examples rather than #attach(). 2013-05-06 20:56:58 -07:00
Jürg Lehni
96d9b6730f Rename Svg acronyms in API to SVG. 2013-04-23 07:19:08 -07:00
Jürg Lehni
cebeb11301 Rename Json acronyms in API to JSON. 2013-04-23 07:13:51 -07:00
Jürg Lehni
8fc2a69136 Improve comment. 2013-04-19 13:52:17 -07:00
Jürg Lehni
fad9d8649d Update BouncingBalls.html example. 2013-04-19 13:16:22 -07:00
Jürg Lehni
9efbc288a1 Merge Path.Rectangle and Path.RoundRectangle. 2013-04-19 12:36:49 -07:00
Jürg Lehni
e546848bcc Adjust SpiralRaster to work with inverted gray. 2013-04-09 20:40:57 -07:00
Jürg Lehni
b9532f6a1a Rename Color#hilite -> Color#highlight. 2013-04-09 08:51:14 -07:00
Jürg Lehni
5209e97c8d Merge GradientColor into Color.
Work in progress.
2013-04-09 01:21:36 -07:00
Jürg Lehni
9cdc4b9372 Switch back to only one Gradient constructor for both linear and radial Gradients. 2013-04-08 20:52:21 -07:00