What would be the simplest solution to draw sine waves in SVG?
I guess sine waves should be repeated in a simple loop with JavaScript… 🙂
Here are the X-Y coordinates as a good start… 🙂
http://jsbin.com/adaxuy/1/edit
<svg>
<line x1="0" y1="250" x2="500" y2="250"
style="stroke:black;stroke-width:1"/>
<line x1="250" y1="0" x2="250" y2="500"
style="stroke:black;stroke-width:1"/>
</svg>
Here is a proof of concept that adds multiple
lineelements to the SVG element: