TheSwamp
Code Red => Visual DCL Programming => AutoLISP (Vanilla / Visual) => OpenDCL => Topic started by: highflyingbird on July 21, 2007, 05:23:17 AM
-
The fractal is beautiful and interesting.The DCL of ACAD can't express my image,so I use OpenDCL to draw "my" fractal.Here are the source code and some screen shots.
-
in the PictureBox ,You can Zoom by window,Zoom in, Zoom out, and use shortcut key.for example,"+" Zoom in
"PageUp" ,the previous image.
if you press Accept button ,then will draw a fractal in DWG.
It may be take a long time to draw this fractal ,so you may be patient.
-
Cool :)
What would the file size of one of these fractals be in dwg format?
-
Wow!
-
Those are beautiful!
-
Cool :)
What would the file size of one of these fractals be in dwg format?
Resolution 1024X1024, may be 10M or so. heihei --It's huge?
-
Just looking at them puts a smile on my face. 8-)
-
Just looking at them puts a smile on my face. 8-)
Now, look at your hands... Far Out! :mrgreen: 8-) :grazy:
-
I started playing with fractals on my old 386sx back in 1991. My 256k vga video card limited me quite a bit but it was still fun and I think I still have a stack of floppies somewhere with some of my favorites I generated with some little dos application I found. I just started playing again with your app and now I think my disk may start filling up again. Thanks for sharing.
-
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?
-
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.
-
Your English was great and so was the explanation!
Thanks, you do beautiful work!
-
Yes, thank you. Your English was great. Although I'll need to learn more about fractal equations, I think I see some of the basic concepts here. Thanks again for showing us some more goodies!