effects: demo visualising easing functions, tuning

This commit is contained in:
Jörn Zaefferer 2009-04-23 22:24:43 +00:00
parent 9571d9614c
commit 5e2ed0c541

View File

@ -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");