Skip to content
Permalink
Browse files

effects: demo visualising easing functions, tuning

  • Loading branch information
jzaefferer committed Apr 23, 2009
1 parent 67830bd commit 35186a9a39815543ffca5a53dff710f3821aa848
Showing with 2 additions and 1 deletion.
  1. +2 −1 demos/effect/easing.html
@@ -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) {

0 comments on commit 35186a9

Please sign in to comment.
You can’t perform that action at this time.