Uhh, so I'm studying some fractal geometry in my spare time - fractal dimension and all that rubbish. I've decided I'm going to try to go through mandelbrot's book: "The Fractal Geometry of Nature", and try to re-render all the fractals in there. I tried to generate base-motif fractals today. (
described here)
Basically, you start out with a couple line segments. You then replace every line segment with another couple of line segments. As this process repeats towards an infinite number of times, you'll get an infinitely long curve (provided it's not a straight line!) This curve may fill up an area, or it may have 0 area. that's some weird stuff, and I'm still figuring out the math behind it.
Anyways, my first attempt generated this:
Due to a bug where I forgot to include or exclude certain points.
THEN, well... I got it working... but then there are these other types of base-motif fractals called "sweeps" - where you flip every couple of lines, in a particular order... so I spent another couple hours trying to implement that and hunt bugs. ANYWAYS what I finally got is a pretty dang good system for rendering!!! CHEECK OUT SOME IMAGES I MA3D!!!
[edit]
it's coded in DBPro, and I plan on getting an IDE working with it all, at which point I plan on pasting it on the code snippets section. Also, I'm posting this because it's FREAKIN SWEET.
[edit2]
also, there are only 4 different generators used. The top left and bottom right fractals each use their own generator, the bottom right is a sweep. The middle row 3 and bottom left fractals are all just different sweeps of a right angle generator, and the top right three are variations of the koch curve.