weepy/jquery.path

how can I draw lines?

Opened this issue · 1 comments

how can I draw lines?

I cant quite understand how can I draw custom path :(

examples not simple lines. can you add simple line example ?

thank you.

try bezier. with x and y coords. that simple.

var horizontal_line_path = new $.path.bezier({
start: { x: 120, y: 350 },
end: { x: 480, y: 350 }
});

$(element).animate({ path: horizontal_line_path });