I could never have thought this sort of thing was possible with LSP. Pure genius! Could you explain a little some of the basic concepts you used to put it together?
How to create a beautiful fractal with LSP.I am afraid that I can’t explain the concepts clearly because of my poor English.
Now let me explain If you don’t mind these:
1. The first step is to get the knowledge of
Fractal and
Iterated function system.
The
Mandelbrot set and
Julia set is a complex iterated function system.
These are defined by a recurrence relation at each point in a space (such as the complex plane).
The iterated rule is :
z→z^2+c
z=x+iy,c=c_( X)+ic_(Y),
x→x^2-y^2+c_(X),
y→2xy+c_(Y).
in my code, reZ -> real part of complex, imZ ->image part of complex, (reZ imZ) is a point .It can be mapped to a pixel of Imagebox.
2. The second step is to know how to render the pixel by color ,and how to convert the color system each other .It is different between the color system of
AutoCAD and
OpenDCL.
The Hue value ,Saturation value ,Lightness ,Red value ,Green value ,Blue value is followed the change of Iterated times.
3. The third step is to know how to map a point (a complex ) to a pixel of ImageBox. It is different between the Coordinate system of
AutoCAD and
OpenDCL (or
DCL).Oh !It’s hard to say .Open my source code , you would understand the basic ways and means.
At the early time ,I finished the similar work by
DCL,
DCL only display 256 colors,
OpenDCLcan display True color—that is my want.
Would someone who understood me correct my English?
Here is a routine by
DCL , But it is Chinese .
Here is a
Nowton Factal screen shot.