Question

Does anybody have a PHP (or other language) script for drawing a spiral. A simple (Archimedean spiral) would be just fine. Of course the principle is simple but coding it in SVG or GD would take some time, so I wonder if somebody has one ready :-)

Was it helpful?

Solution

See this page: Using GD (imagearc) and PHP to draw spirals (Listing 27.3)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top