Plant Programmer
A downloadable game for Windows, macOS, and Linux
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!
Status | Prototype |
Platforms | Windows, macOS, Linux |
Author | Big Vacuum Studio |
Genre | Simulation, Educational, Puzzle |
Tags | 2D, Casual, Cute, Idle, Procedural Generation, Relaxing, Singleplayer |
Download
Click download now to get access to the following files:
Comments
Log in with itch.io to leave a comment.
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,