Tree Maker
About
Create different trees and tree-like structures using fractal-like math.
Many natural things exhibit patterns of self-similarity. For example, a whole tree looks like a branch and a branch looks like a leaf.
Thus, one can try making trees using self-similar mathematical structures called fractals.
https://en.wikipedia.org/wiki/Fractal_canopyHowever, these mathematical structures does not look exactly like real trees. First, they lack randomness which is always present in nature. Second, real trees are not completely self-identical: different levels of structure follow different rules.
In this editor you can generate your own tree-like structure. Define fractal's properties (length, width, amount of branches, colour, randomness, etc.) for the whole structure or for the separate levels individually.
Controls:Use the left and the right mouse buttons for different effects.
Shortcuts:[0] -- [7] Menu selection.
[F4] Save tree image.
[F5] Copy all tree settings to the clipboard.
[F6] Load tree settings from the clipboard. Settings should be in the specific format.
[F9] Resample all random effects.
Credits and source codeMikhail Shubin, 2021
Made with pygame, published with cx-Freeze
Source code: https://gitlab.com/2pi360/tree_maker
Uses pygame simplifier: https://gitlab.com/2pi360/pygame_simplifier