The chaotic image---Lorentz butterfly

Source: Internet
Author: User

I have read many books on chaos, each of which will introduce the Lorentz attractor, and on almost every cover will be drawn on the Lorentz butterfly curve. Although I have read so many books, I still do not understand how this Lorentz equation with the weather has been related. The climate biologist Lorentz presented its formula in the 1963 paper to represent the weather model. The weather system is so complex that it cannot be described by millions of variables, but Lorentz compresses it to three variables: x, Y and Z, so this is just a toy model. The toy model is probably just right for his argument. Most of the previous weather models were linear, without too much consideration for the complex relationship between the various factors, and Lorentz had thought that such models could not describe the changeable weather. And his model, although there are only three variables over time, but there is a nonlinear relationship between variables, can well explain the interaction between the factors.
Under such a simple model, there is a chaotic phenomenon. And this phenomenon seems to be common, because in the majority of the probability of three variables, the trajectory of the system evolution will gradually become similar to the same chaotic region, as the magnet attracts the pushpins, chaotic behavior becomes inevitable. This is the first chaotic attractor that people find: Lorentz attractor. Its shape, like a butterfly, is probably the reason why Lorenz this chaotic phenomenon as a "butterfly effect". The flapping wing of a South American butterfly may cause a hurricane in Texas State under the amplification of the butterfly effect. Weather is impossible to predict accurately, because the weather is chaotic, the small disturbance in the long run is not negligible, and we are unable to track numerous disturbances, can only be predicted, while correcting.

If you do not understand the above, it does not matter, anyway, the study is not the weather, not haze, I just use Lorentz attractor to generate beautiful images.

This generates a chaotic image using the script code of its own definition syntax. Related software see: Ychaos generating chaotic images. If you are interested in a graphic image of students, welcome to join QQ Group: 367752815

First, the script code:

1 [Scriptlines]2u=a* (Y-x)3V=b*x-y-x*Z4w=x*y-c*Z5x=x+u*T6y=y+v*T7z=z+w*T8 9 [Variables]TenA=10.000000 Oneb=28.000000 AC=2.666667 -t=0.001000 -x=-10.000000 they=10.000000 -z=25.000000

Generate the following image:

If you understand Lorentz's mathematical formula, you will find that it is actually three-dimensional, with XYZ three dimensions. This is just a two-dimensional image, so it is necessary to project three-dimensional data onto a two-dimensional plane. Think of the mosquitoes in the summer and shoot the mosquitoes in the space on the two-dimensional wall. If it is to shoot people, you can choose to shoot, left and right, the most brutal should be up and down pat. Remember that the novel "three-body" is a very powerful weapon is a small note, it can be three-dimensional world into two-dimensional, so the earth and the whole solar system is so destroyed. The above script uses the default Xoy polygon as the projection surface, and can also use xoz polygons, yoz polygons.

Yoz

[Scriptlines]u=a* (J- i) v=b*i-j-i*kw=i*j-c*ki=i+u*tj=j+v*tk =k+w*tx=iy=j*cos (d)-k*sin (d) z=j*sin (d) + K*cos (d)

Xoz

[Scriptlines]u=a* (J- i) v=b*i-j-i*kw=i*j-c*ki=i+u*tj=j+v*tk =k+w*TX=i*cos (d)-k*sin (d) y=jz=i*sin (d) + K*cos (d)

The three-dimensional object is projected onto a two-dimensional plane, and you can cast it at any angle, any plane, and the following formula rotates the graph at a certain angle from the Z axis:

[Scriptlines]u=a* (J- i) v=b*i-j-i*kw=i*j-c*ki=i+u*tj=j+v*tk =k+w*TX=i*cos (d)-j*sin (d) y=i*sin (d) + j*cos (d) z=k

Lorentz attractor is not random, but I can force it to add randomness:

[Scriptlines]u=a* (Y- x) v=b*x-y-x*ZW=x*y-c*ZX=x+u*t + rand2 (-r,r) Y=y+v*t + rand2 (-r,r) z=z+w*t + rand2 (-r,r)

To tell the truth, the images of these Lorentz butterflies look a little ugly. At that time I just randomly wrote a color-matching function, feeling is miserable green and green. Here will be a few beautiful pictures of the butterfly:

Related Software Introduction:

Ychaos Generating Chaotic images

Related articles:

Lorenz of Chaotic Mathematics (Lorenz) Attractor

The chaotic image---Lorentz butterfly

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.