Customizable Procedurally Generated Trees

by steveweber314, published

Customizable Procedurally Generated Trees by steveweber314 May 31, 2016
0 Share
Download All Files

Thing Apps Enabled

Open in Customizer Order This Printed View All Apps


Design Tools


Use This Project

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag.

Print Thing Tag

Thing Statistics

2988Views 844Downloads Found in Models


A customizable procedurally-generated fractal tree.

From Code to Table

This organic looking tree was actually "grown" from a numeric seed using a simple mathematical algorithm.

Now you can use the Customizer App to create your own unique tree! You can change the parameters around to create a variety of different shapes, and you can also add your own text around the base.

Or, edit the OpenSCAD code and create a new species! My Instructable will get you started.

Edit: When I first posted this there were some things in my .scad script that Customizer didn't like. I think I've got most the bugs worked out now except for one thing. You have to edit one of the values before it will preview the first time. Before that it just shows a trunk.

Edit 2: If you want to download the code for all the individual steps in the Instructable, you can now clone it from GitHub at https://github.com/steveweber314/ProceduralTrees

How I Designed This

OpenSCAD code

The tree follows the basic pattern of grow, split, and repeat.

Grow, Split, and Repeat.

There are many other forms this tree could evolve into. You are encouraged to remix it and alter the formula! For example, you could make a conifer by growing the trunk straight up, and sending a ring of branches outwards at each knuckle.

The journey of writing this OpenSCAD script is documented in my Instructable. Please take a look, and if you like it, please consider voting for it in the Instructables 3D Printing contest and First Time Authors contest.


Model trains, RC car racing, architectural modelling and other scale models, tabletop games, low maintenance bonsai, Lego, fairy gardens, tiny dollhouses, tiny festive lighted Christmas towns, and any other miniatures.

More from Models

view more

All Apps

Customizer is the easiest way to take great 3D printable designs and make them your own. Make your OpenSCAD designs infinitely more valuable by empowering the community to customize them.

App Info Launch App
Customizer Thing App

3D Print your file with 3D Hubs, the world’s largest online marketplace for 3D printing services.

App Info Launch App

Auto-magically prepare your 3D models for 3D printing. A cloud based 3D models Preparing and Healing solution for 3D Printing, MakePrintable provides features for model repairing, wall thickness...

App Info Launch App

Kiri:Moto is an integrated cloud-based slicer and tool-path generator for 3D Printing, CAM / CNC and Laser cutting. *** 3D printing mode provides model slicing and GCode output using built-in...

App Info Launch App
KiriMoto Thing App

With 3D Slash, you can edit 3d models like a stonecutter. A unique interface: as fun as a building game! The perfect tool for non-designers and children to create in 3D.

App Info Launch App

Print through a distributed network of 3D printing enthusiasts from across the US, at a fraction of the cost of the competitors. We want to change the world for the better through technology, an...

App Info Launch App

Quickly Scale, Mirror or Cut your 3D Models

App Info Launch App

3D Print a wide range of designs with Treatstock. Easy to use tools to get the perfect result. The global 3D printing network that connects you with high-quality and fast working print services nea...

App Info Launch App