L-systems come in many forms including context sensitive (knows about nearby nodes), stochastic (random angles and/or length), and environmentally-aware (know about promoters / inhibiters in the environment). http://algorithmicbotany.org/ has lots of useful information on L-systems, mostly with an eye to generating plants but that are also generally applicable.