
treegen-pinegen v1.5.3
A downloadable tool for Windows
π‘οΈ Antivirus Notice
This program may be flagged by some antivirus software because itβs a custom .exe generated with PyInstaller.
It does not contain any malware — you can check the source code yourself on GitHub.
If in doubt, run the .py version directly using Python.
π² treegen-pinegen v1.5.3
Procedural voxel tree generator for MagicaVoxel
Generate customizable .vox trees using palettes, sliders, and pure Python.
Built with Python, NumPy, and Pillow. The project uses a PyQt6 GUI (treegen_qt.py) which calls the shared core in worker modules.
β¨ Features
- Five generators:
- Treegen - oak-style branching tree generator
- Pinegen - pine/conifer generator with cone-shaped leaf clusters
- Birchgen - birch tree generator with slender trunks and spreading crown
- Palmgen - tropical palm generator (new)
- GUI:
- PyQt6 UI:
treegen_qt.py(menu, About dialog, inline status, tabbed interface)
- PyQt6 UI:
- Real-time preview with multiprocessing (heavy generation in subprocesses for speed)
- Export to MagicaVoxel
.voxviaVoxExporter - Randomize presets and deterministic generation via seed
- Organized output folders:
output/tree/andoutput/pine/ - "Open file after generation" option (platform-aware)
- Non-modal export status displayed above each preview in the PyQt UI
β¨ Controls (implemented in the PyQt UI):
- Treegen sliders/controls and ranges:
Size: 0.1 — 3.0Trunk Size: 0.1 — 1.2Spread: 0.0 — 1.0Twist(twisted): 0.0 — 1.0Leafiness: 0.0 — 3.0Gravity: -1.0 — 1.0Wide: 0.0 — 1.0Iterations: 5 — 15 (integer)Seed: 1 — 9999
- Pinegen sliders/controls and ranges:
Size: 0.1 — 3.0Twist(twisted): 0.0 — 4.0Trunk Size: 1.0 — 3.0Trunk Height: 0.0 — 5.0Branch Density: 0.0 — 3.0Branch Length: 0.0 — 3.0Branch Direction: -5.0 — 5.0Leafiness: 0.0 — 2.0Leaf Radius: 1.0 — 4.0Leaf Stretch: 0.5 — 3.0Leaf Bias: -1.0 — 1.0Seed: 1 — 9999
- Palmgen sliders/controls and ranges:
Size: 0.1 — 3.0Trunk Height: 0.0 — 340.0Trunk Width: 0.3 — 4.0Trunk Iter: 12 — 80 (integer)Bend: 0.0 — 1.0Frond Count: 4 — 72Frond Length: 0.1 — 3.0Frond Var: 0.0 — 1.0Frond Random: 0.0 — 1.0Gravity: 0.0 — 1.0Frond Width: 0.1 — 1.0Seed: 1 — 9999
- Kapokgen sliders/controls and ranges (new):
Size: 0.1 — 3.0Trunk Extend: 0.0 — 340.0Trunk Size: 0.3 — 4.0Trunk Iter: 8 — 40 (integer)Bend: 0.0 — 1.0Root Twist: 0.0 — 1.0Root Profile: 0.0 — 1.0Root Spread: 0.0 — 1.0Root Count: 0 — 8 (integer)Root Variance: 0.0 — 1.0Canopy Iter: 5 — 15 (integer)Wide: 0.0 — 1.0Spread: 0.0 — 1.0Canopy Twist: 0.0 — 1.0Leaves: 0.0 — 3.0Gravity: -1.0 — 1.0Canopy Thick: 0.0 — 1.0Canopy Profile: 0.0 — 1.0Canopy Flat: 0.0 — 1.0Canopy Start: 0.0 — 1.0Seed: 1 — 9999
Other UI features (PyQt6 port)
- Menu bar: File β Close, Help β About (About shows app/version/credits)
- Inline status: export results appear above the preview (
tree_dim_label/pine_dim_label/birch_dim_label) - Preview uses worker modules and runs in a worker QThread with progress signals and cooperative cancellation
- Export runs in a separate process (ProcessPoolExecutor) and writes
.voxfiles usingVoxExporter - Tabbed interface for easy switching between generators
- Previews update on startup, tab changes, and palette selections
π How to Use:
-
Download and extract the ZIP
-
Run the
.exe(or the Python script if you're on Linux/macOS) -
Adjust the sliders and click "Generate"
-
Load the
.voxfile in Magicavoxel or drop it into your game!
Requirements for compilation
Minimum Python packages:
- Python 3.8+
- numpy
- pillow
- PyQt6
Install with pip:
pip install numpy pillow PyQt6
Running compilation
PyQt6 UI (primary):
python treegen_qt.py
Export & Output
- Exports produce
.voxfiles compatible with MagicaVoxel and are saved tooutput/tree/oroutput/pine/. - Filenames use timestamps (e.g.,
treegen_20231005_143022.vox) to ensure uniqueness without external counter files.
π License
MIT — Free to use, remix, and plant digital forests π³π²
π Credits
Made by NGNT Creations.
| Updated | 13 days ago |
| Status | In development |
| Category | Tool |
| Platforms | Windows |
| Author | NGNT Creations |
| Made with | GIMP, MagicaVoxel |
| Tags | asset-creation, game-assets, gamedev-tool, magicavoxel, Procedural Generation, teardown, tree-generator, treegenvox, Voxel, voxel-art |
| Code license | MIT License |
Install instructions
π How to Use:
-
Download and extract the ZIP
-
Run the
.exe -
Adjust the sliders and click "Generate"
-
Load the
.voxfile in MagicaVoxel or drop it into your game!
Development log
- Update to v1.5.137 days ago
- Version 1.542 days ago
- v1.4.1 - newest features!Apr 24, 2025
- LaunchApr 20, 2025










Leave a comment
Log in with itch.io to leave a comment.