Turn a line segment into several lines connected at the beginning and end, and then repeat this operation on each new line segment to generate a very beautiful image. this is the line fractal. I have posted an article about the implementation of the fragment program, which implements nearly 20 algorithms for generating fragment images. In these fragment algorithms, most of them are aimed at line breaks, that is, a line segment is constantly split into multiple line segments, such as the levy curve, coastline, and Koch Snowflake. this article provides an arbitrary line fragment program that can be edited freely.
The software operation method is as follows:
Both fractalline.exeor fractallinesp.exe can start the program. One is the form interface, and the other is the full screen interface.
After the program starts, an edit button is displayed in the upper left corner of the form. A line editing interface is displayed.
Press ctrl and click the line editing interface to add the line points.
Click the broken line point and drag it to modify the position of the point.
After selecting the line chart, press the Del key to delete the line chart.
After selecting the line chart, press Ctrl and drag to copy the line chart.
After the line is edited, click the OK button in the upper left corner to generate a line fragment.
Drag the slide in the upper-right corner of the page to display the fragment of different levels.
The scroll wheel allows you to zoom in or out the image. Right-click the scroll wheel to move the image.
The slide bar at the bottom of the interface controls the curve range that can be displayed.
The following shows how to generate different fragment graphs with different broken lines:
(1)
(2)
(3)
(4)
(5)
Software: http://files.cnblogs.com/WhyEngine/FractalLine.zip
Fragment-editable line