r2491 - effects: demo visualising easing functions, tuning
Author: joern.zaefferer
Date: Thu Apr 23 15:21:32 2009
New Revision: 2491
Modified:
trunk/demos/effect/easing.html
Log:
effects: demo visualising easing functions, tuning
Modified: trunk/demos/effect/easing.html
==============================================================================
--- trunk/demos/effect/easing.html (original)
+++ trunk/demos/effect/easing.html Thu Apr 23 15:21:32 2009
@@ -33,7 +33,6 @@
canvas.height = 135;
var ctx = canvas.getContext("2d");
ctx.fillStyle = "black";
- ctx.strokeStyle = "white";
ctx.beginPath();
ctx.moveTo(10, 0);
@@ -46,11 +45,13 @@
ctx.lineTo(10, 0);
ctx.fill();
+ ctx.strokeStyle = "#555";
ctx.beginPath();
ctx.moveTo(0, 100.5);
ctx.lineTo(100, 100.5);
ctx.stroke();
+ ctx.strokeStyle = "white";
ctx.lineWidth = 1.5;
ctx.beginPath();
$.each(new Array(100), function(position) {