A quick try at L-Systems:

A few weeks ago, i stumbled on the wikipedia page for L-Systems (oh, wikipedia , even for all you faults, how i love thee).

So i decided to do a quick (less than a day)Β  implementation in c# .

This was the result after about another day of improvements:


Things of Note:

  • I added a few extra things compared to what is found in the wikipedia article:
    • Color changes based on “generation”
    • Thickness changes base on “generation”
  • It is only for basic LSystem: context free, andΒ  not procedural (although, i confess, i did expermiment with more complex version, but those really are to slow for showing)
  • 2d Only
  • Windows only, although i am currently working on a Mono version (but boy am i having problems with GUI)
  • The improvement version also uses multithreading , and the speed increase, even on just an old dual core amd, is quite amazing
  • I will post a download link soonish so you can try it out for yourself
Share and Enjoy:
  • Identi.ca
  • Twitter
  • Facebook
  • Reddit
  • Digg
  • Print
  • Google Bookmarks
  • Add to favorites

Tagged on:         

7 thoughts on “L Systems in c# / mono

  • May 24, 2011 at 23:37

    Would you mind posting the code to this? If you don’t want to publicly post it, would you mind emailing it to me?



    • June 17, 2011 at 00:55

      Hello Jon !
      Sorry for the late reply.
      I would not mind at all , however i will have to dig through my old hard drives to get my hands on the code again, so i will post it as soon as i can find it!

  • August 8, 2011 at 15:52

    Hi Mark,

    Been playing around with L-Systems in C# and would realy be interested in your implementation. Any luck finding it on your old HDD?


    • August 20, 2011 at 23:05

      Hello Alex !
      Sorry for the late reply, but as you can see , i did find those files (see latest article), so , even if they are a horrible mess, and ages old, if they can help you , that is good πŸ™‚

  • October 3, 2014 at 23:56

    Well I can’t see any code.. πŸ˜‰

  • February 16, 2017 at 09:39

    Can you put here your all code? πŸ˜‰


Leave a Reply

Your email address will not be published.