Fragment-editable line

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.