A triangle wave can be generated from sum of many sinwave.

Please check out [url=http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=17.0]Fourier Synthesis[/url]