effects: demo visualising easing functions, tuning

This commit is contained in:
Jörn Zaefferer 2009-04-23 22:21:32 +00:00
parent 67830bde80
commit 35186a9a39

View File

@ -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) {