mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
effects: demo visualising easing functions, tuning
This commit is contained in:
parent
67830bde80
commit
35186a9a39
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user