[ TU Braunschweig | Informatik | IBR ]

Coil-Graph with SVG and embeded PHP

Problem

If you are looking for solution to print a coil graph with easy open-source tools you can take the script below. I use Scalable Vector Graphics (SVG), a language for describing two-dimensional graphics in XML. The script is a SVG-File with embeded PHP. It is in use for calculating the coil-line as a SVG path element.

Here is a example. You need a svg-viewer, witch you can download from Adobe, Corel, Apache Project (Batik) etc.

View the source of the the SVG-file with PHP-code.