Aaron Spike wrote:
The rule language implemented in Inkscape doesn't currently support the @ or @i commands for multiplying the line length. And in my quick search I didn't run across an explanation for (4).
If you'd like to try your hand at fixing these omission in Inkscape check out the source for this extension in lindenmayer.py:
http://inkscape.svn.sourceforge.net/viewvc/inkscape/inkscape/trunk/share/ext...
Aaron Spike
I thought the l-system syntax was unique, but I found different formulation for scaling on another website, does it matter which one is adopted in Inkscape?
Can you explain how you pull the formula through generations (order)? Where do I look; iterate or recurse?
I played with the script a bit and I was able to make every drawn step resize by an amount (every ABC...), but that isn't what I want. I want fractals, they apply the resize only after the whole object had gone through a substitution.
I was also able to make the resize apply after one run through the formula, but this way "resize generations" still alternate too fast, before the order is applied to the whole object.
What should I look into considering python for pulling out the number behind @ from the rules (I'm a total python newbie)?