A port of cbonsai to Flipper Zero.
Same recursive growth algorithm as the original (trunk / left-shoot /
right-shoot / dying / dead branch types, driven by life and multiplier),
ported line-for-line from setDeltas() and branch(). The only real
adaptation is the renderer: cbonsai draws ASCII glyphs on a terminal
character grid, but the Flipper's 128x64 screen is a monochrome pixel
canvas, so wood steps are drawn as short connected line segments and
leaves as single dots/discs instead of characters.
This is a derivative work of cbonsai by jallbrit and contributors, which is licensed GPL-3.0-or-later. Because the core growth algorithm is ported directly, this project is licensed GPL-3.0-or-later too — see LICENSE — not a permissive license, to stay compliant with the upstream terms.
Copy dist/cbonsai.fap to SD Card/apps/Misc/ (via qFlipper), or with the
Flipper connected over USB:
ufbt launch| Screen | Action |
|---|---|
| Menu | Up/Down to select, OK to confirm |
| Tree | OK: grow a new random tree, Back: return to menu |
| Anywhere | Long Back: quit |
ufbt # compile → dist/cbonsai.fapRequires ufbt
(brew install ufbt).
See CONTRIBUTING.md.
See STATUS.md.
See SECURITY.md to report a vulnerability.