A downloadable game for Windows, macOS, and Linux

Download NowName your own price

In this plant sim you can make any plant, even the plant of your dreams if you can imagine hard enoght, even trees if you want by using a simple code system,

And when you are done click on the export Button to save the plant as PNG with transparent background so you can use it as a Sprite asset where ever you want.

 the save directory will apear as you export your first plant, it's a folder named "Exports" in the same directory as the program executable, inside will be the plant sprites.


RULES:

B  =  branch,  and turns into Branch rule

L  =  Leaf,  and turns into Leaf rule

+   ,   -  = rotates by the set angle value 

[   ,   ]    =   " [ "  will branch away, to return do "]"

example:     B -> B[-B][+B]B

                                                                 B[-B][+B]B                                                                      |                   

would make:             B[-B][+B]B                      B[-B][+B]B                                       \              /              

                                                                 B[-B][+B]B                                                                      |                

and so on...


you can combine rules to make it more complicated:

B -> BB

&

3 -> B[-B3][B3][+B3]


Good Luck!

Download

Download NowName your own price

Click download now to get access to the following files:

Plant_Programmer_Windows_V0.3.zip 22 MB
Plant_Programmer_Mac_V0.3.zip 31 MB
Plant_Programmer_Linux_V0.3.zip 36 MB

Comments

Log in with itch.io to leave a comment.

(1 edit)

learn more about L-systems here:

L-system - Wikipedia

main.dvi (algorithmicbotany.org)

here are example codes:

starter letter: B

B → B[+B]B[-B]B

Or:

starter letter: B

B → BB-[-B+B+B]+[+B-B-B]

Or:

starter letter: 3

B → BB

3 → B[+3][-3]B3

have fun,