PHP脚本来画一个螺旋?螺旋、脚本、画一、PHP

2023-09-12 21:22:28 作者:傻瓜,我爱你

没有任何人有一个PHP(或其他语言)脚本用于绘制螺旋。一个简单的(阿基米德螺旋)会就好了。当然,原理很简单,但它的编码在SVG或GD将需要一些时间,所以我不知道,如果有人有一个准备: - )

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 :-)

推荐答案

请参阅此页:使用GD(imagearc )和PHP绘制螺旋(清单27.3)

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