弦艺术:用直线画圆
String Art: Circle Drawing Using Straight Lines
摘要:
提出了一种利用直线交点生成圆轨迹的算法。圆上的像素彼此独立地绘制,并且从直线的交点找到圆的轨迹所涉及的操作是可并行的。为了加速,使用了唯一的算术和算法优化。该算法利用包络线形成抛物线弧,然后将其转换为圆。当要绘制的圆的半径增加时,使用抛物线弧进行变换会导致更高的像素误差。在其当前状态下,所提出的算法可能仅适用于生成弦艺术的圆。
英文摘要:
An algorithm to generate the locus of a circle using the intersection points of straight lines is proposed. The pixels on the circle are plotted independent of one another and the operations involved in finding the locus of the circle from the intersection of straight lines are parallelizable. Integer only arithmetic and algorithmic optimizations are used for speedup. The proposed algorithm makes use of an envelope to form a parabolic arc which is consequent transformed into a circle. The use of parabolic arcs for the transformation results in higher pixel errors as the radius of the circle to be drawn increases. At its current state, the algorithm presented may be suitable only for generating circles for string art.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。