[Extension]Gentree - Procedural Tree Generator for Aseprite

banner

Gentree - Procedurally generates trees and foliage in Aseprite - Download :link:

Gentree is an Aseprite extension that procedurally generates pixel art trees and foliage using customizable parameters and presets (No AI).

It’s designed to help you quickly create natural‑looking trees, forests, and vegetation for pixel‑art environments, tilesets, and game assets, while still keeping the process artist‑driven and editable.

Includes ready‑to‑use presets for fast iteration, plus a Forest Mode for generating multiple trees at once.


banner

Quick Start

  1. Open Gentree: Go to Edit > Gentree in aseprite’s top menu.
  2. Select a layer (important for Single Layer mode)
  3. Select any tree from the preset.
  4. Click Generate
  5. Tweak values and regenerate until satisfied

You can also make a small selection to control where the tree is generated.


sublime_text_xU7QBF4wEQ

Trunk and Branch Tab

Controls the overall shape, thickness, and curvature of the trunk and branches.

  • Trunk Height - Overall height of the main trunk.
  • Branch Length - Average length of each branch.
  • Trunk/Branch Points - Number of points used to form each path.
    • Higher values produce smoother, more natural curves.
  • Trunk/Branch Curve - Controls how much the trunk or branch bends.
  • Thickness Start / End - Controls tapering from base to top.
  • Flip Shadow - Flips the light/shadow direction of trunk.
  • Trunk Textured - Adds bark-like lines to the trunk.

Structure & Complexity

Controls how dense and complex the tree becomes.

  • Branch Amount - Number of branches on the trunk.
  • Branch Fork - How often branches split.
  • Branch Levels - Maximum recursion depth (tree complexity).
  • Combine Trunk & Branch - Merges branch and trunk into the same layer.
  • Offset & Direction - Controls the offset & direction of leaf highlights and shadow

High depth + high branch amount can get dense fast.

Leaves Tab

Controls leaf placement and style.

  • Leaf Density - Number of leaf clumps.
  • Cluster Size - Radius of each leaf cluster.
  • Leaf Size - Size of individual leaves.
  • Leaf Type - Shape used for leaves (round, triangle, etc.).
  • Shade Variation - Adds subtle color variation for depth.
  • Custom Leaf Type Mode:
    • Column&Row - Splits the sheet into frames.
    • Custom Size Min/Max - randomly scales each leaf.
    • Custom Color - recolors the sprite using the selected leaf color.

Use Custom Leaf Image:

sublime_text_3S1nJYUBrV_custom_leaf_

Decors and Roots:

sublime_text_8AW5XNtWOw

Colors & Extras

  • Leaves Color - Base leaf color.
  • Wood Color - Trunk and branch color.
  • Outlined - Adds pixel outlines.
  • New Layer - Forces generation onto a new layer.

sublime_text_Ycu3SDRlst2

Forest Mode

Generates multiple trees inside a selection.

  • How it works:
    1. Make a horizontal rectangular selection
    2. Enable Forest Mode
    3. Set number of trees
    4. Click Generate

Trees are spaced with controlled randomness for a natural look.

Notepad_Qp0Vsm7D5Z

Grass Mode

Generates grass elements within selection area.

  • How it works:
    1. Make a selection
    2. Enable Grass Mode
    3. Set coverage percentage
    4. Choose cover mode:
      • Scatter - randomly distributes grass inside the selection for natural ground coverage
      • Edge - detects terrain edges and places grass along boundaries for more controlled foliage placement
    5. For scatter, select 1 color or 3 color style
    6. Click Generate

sublime_text_VVtX0BkcJ1_post

Layering Modes

Choose how generated elements are organized.

  • Single Layer (Recommended)
    • Draws on the currently selected layer
    • Regeneration overwrite the same layer

      Select a new layer if you want to keep the current tree.

  • Separated
    • Creates individual layers:
    • Trunk, Branch, Foreground Leaves, Background Leaves

      Group the four layers to keep the tree intact.

  • Grouped
    • Same as Separated, but inside a group
    • Cleaner organization for complex scenes

      Rename the group if you want to keep multiple trees.

layer option demo-export

Presets

Presets let you instantly switch between different tree styles.

  • Built-in presets for quick results
  • Select a preset to instantly apply settings
  • Create your own presets
  • Default presets cannot be deleted or overwrite

Presets are great for exploring variations or getting a solid base before polishing by hand.

Create Preset:

sublime_text_j5DExnxT9v_create_new_set2

Import/Export Preset:

sublime_text_0iisQnmqbX_export_import_post


Tips & Best Practices

  • Start with a preset, then tweak values to taste
  • Begin simple: low depth, fewer branches
  • Increase complexity gradually
  • Use Single Layer mode while experimenting
  • Flip Shadow to match scene lighting
  • Gentree is designed to feel procedural, but artist-driven.

It doesn’t replace hand-drawn trees, it gives you a strong, editable starting point that you can tweak, polish, and make your own..


Download Gentree now on Itch

2 Likes

An update to Gentree v1.1.0 has been released!

Added custom leaf image support, improved shading controls, preset management.

Changes:

  • [New] Custom leaf image or sprite sheet support.
  • [New] Preset export and import support.
  • [Improvement] Improved leaf shading with adjustable highlights and shadows.
  • [Improvement] Added shadow offset and direction controls.
  • [Improvement] Gentree is now accessible via View > Gentree instead of the Edit menu.

sublime_text_HmxMtbLYlg_media_post

An update to Gentree v1.2.0 has been released!

Feature update introducing decorative elements, root generation controls, branch distribution improvements, and major performance optimizations.

Changes:

  • [New] Added Decor Tab with support for decorative elements (fruits, custom shapes, and additional details)
  • [New] Added dedicated Root Tab with trunk root generation options
  • [New] Added adjustable Branch Spread control for more natural canopy shaping
  • [New] Added selectable Branch Distribution Modes (Random, Top-Heavy, Even)
  • [Improvement] Significantly improved image generation speed and overall performance

sublime_text_8AW5XNtWOw

An update to Gentree v1.3.0 has been released!

Feature update introducing grass generation, improved foliage customization, and enhancements to the preset import system for greater flexibility.

Changes:

  • [New] Added Grass Generation Mode for creating ground foliage around trees and environments
  • [New] Added Grass Coverage Styles:
    • Scatter - randomly distributes grass inside the selection for natural ground coverage
    • Edge - detects terrain edges and places grass along boundaries for more controlled foliage placement
  • [New] Added support for Live Brush Sets as Custom Leaves
  • [Improvement] Improved preset Import/Export System

sublime_text_VVtX0BkcJ1_post