Skip to main content

This is a program written in Nim, using Raylib to procedurally generate stuff using l-systems


Status Beta
Language Nim
License MIT
Role Maintainer

This is a project to procedurally generate "realistic" looking plants using raylib and programmed in Nim. An l-system is essentially a term-rewriting system, which can be used to iteratively construct strings, which can then be interpreted as instructions for recursively generating images (similar to "turtle graphics" but more complex).

I created this mainly to learn Raylib more, but I also built a GUI tool using RayGUI (the immediate mode GUI lib that comes with Raylib) which could be useful for more things.

You can see a video of it in action here