Difference between revisions of "L-system tree examples"
Jump to navigation
Jump to search
(Start collection of L-system tree examples; first example is an apple tree.) |
m |
||
Line 27: | Line 27: | ||
=== Screenshot === | === Screenshot === | ||
[[File:Apple Tree.png|420px]] | [[File:Apple Tree.png|420px]] | ||
+ | [[Category:Modding API]] |
Revision as of 01:06, 16 February 2015
This wiki page is a collection of example L-system trees. The intention is to help newbies better understand L-system trees, but also to provide usable tree definitions which could be used in mods.
If you wish to add a tree, please use the template at /Template and insert the filled-out template into this wiki page. Don't forget to upload a screenshot as well.
Apple tree
Profile
- Subgame used: Minetest
- Additional mods used: none
Definition
treedef = { axiom="FFFFFAFFBF", rules_a="[&&&FFFFF&&FFFF][&&&++++FFFFF&&FFFF][&&&----FFFFF&&FFFF]", rules_b="[&&&++FFFFF&&FFFF][&&&--FFFFF&&FFFF][&&&------FFFFF&&FFFF]", trunk="default:tree", leaves="default:leaves", angle=30, iterations=2, random_level=0, trunk_type="single", thin_branches=true, fruit_chance=10, fruit="default:apple" }