L-seeds

A collection of 1,000 plant-generating grammars on Ethereum

?/? minted

About the project

L-Seeds are 1,000 Lindenmayer systems (aka L-Systems) hosted on Ethereum. They're a formal grammar invented by Aristid Lindenmayer in 1968 to model cell and plant development.

How it works

Each system contains a set of simple replacement rules. For example:

F → F+F+

When you see F, you replace it with FF. You begin with a starting phrase (axiom), and then recursivley follow the rules.

Here's an example:

Begin: F

Take 1: F+F+ (According to the rules, replace F with F+F+C)

Take 2: F+F++F+F++ (This time we replaced both Fs with F+F+F)

Take 3: F+F++F+F+++F+F++F+F+++

And so on. We then feed the output of the system into a simple Turtle-graphics drawing program. Each character is a command to move the pen on the page in a unique way:

F: Move forward

+: Rotate right

-: Rotate left

[: Save the current position of the pen

[: Get the last saved position of the pen

With these simple rules, we can generate wildly complex and unique plant-like shapes.

L-Seeds

Every L-Seed is a unique combination of rules and parameters, which means every seed will create a different kind of drawing.

No roadmap, no Discord - we just think these are pretty cool. There are 1,000 of them, and we have 50 ourselves. The rest are publicly available to mint for 0.1Ξ.

Author

Made by Justin Woodbridge and Benjamin Zweig

Source code

Contract