Evil_Intentions Expert Cheater
Reputation: 65
Joined: 07 Jan 2010 Posts: 214
|
Posted: Mon Jun 20, 2011 4:32 am Post subject: New FractalGen coming soon |
|
|
Changing all characters to Capitals and adding lowercase counterparts. lowercase will advance in the current direction WITHOUT drawing a line. I'm also adding the characters < and >. This is something not found in any other application of L-Systems in fractals, and is from what I can see, my own creation. Take the following string: f<-f+f+>f-f
Before this string is draw, it will go through another rewriting phase, in which when a ">" is encountered, it is replaced by the contents between it and the most recent "<" and the recent "<" deleted from the string. Therefore, the above string before being drawn is changed to f-f+f+-f+f+f-f. This parsing only occurs after the final ordered string has been made, making nested save/loads possible. The following string for example: f-<ff+<ff->f>
we begin by parsing through, ignoring any <s until we reach a >. Our string is currently f-<ff+<ff-
Now we load from the most recent <. Our string is now f-<ff+ff-ff-f
The next character is our last >, so we load everything between, giving us a final string of f-ff+ff-ff-fff+ff-ff-f
With these latest additions([,],<,>,lowercase letters) I believe mine will be an truly advanced, and original, L-System drawer.
the <> system will also be added to fractalMuse. All other additions are pointless to add as they only effect the drawing of fractals. Will probably release in a few hours after I get things program and tested.
Sorry if the above description sounds unorganized or rushed, the idea made me happy and my mind is all over the place atm.
|
|