trnc
trnc

Reputation: 21577

Bending a line (path) with CSS & JS?

i want to draw a simple horizontal line and make an animation where this line bends. I have a video of this animation. Can you give me some advice how to start and which js/css I have to use?

It's all about the line on the bottom of the rect: http://www.stop-stottern.de/fileadmin/user_upload/clips/Zwerchfell.avi.3GP

Thanks in advance!

Upvotes: 0

Views: 724

Answers (2)

David
David

Reputation: 497

If your clients support HTML5 you could always use a canvas? If not then I second Raphael, its a great tool.

Upvotes: 1

BiAiB
BiAiB

Reputation: 14122

you need scalar graphics to draw lines/curves. That can be done with the framework RaphaelJS.

Upvotes: 1

Related Questions