r2493 - effects: demo visualising easing functions, tuning
Author: joern.zaefferer
Date: Thu Apr 23 15:24:43 2009
New Revision: 2493
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:24:43 2009
@@ -11,7 +11,7 @@
float: left;
margin-left: 10px;
width: 100px;
- height: 160px;
+ height: 120px;
}
</style>
<script type="text/javascript">
@@ -28,7 +28,7 @@
var graph = $("<div/>").addClass("graph").appendTo("#graphs");
$("<div/>").text(++i + ". " + name).appendTo(graph);
- var canvas = $("<canvas/>").appendTo(graph)[0]
+ var canvas = $("<canvas/>").width(100).height(100).appendTo(graph)[0]
canvas.width = 100;
canvas.height = 135;
var ctx = canvas.getContext("2d");