Skip to main content

random tree

  • 🔥 advanced
  • 🗂️ structure
  • ✍️ Trey DuBose

Created by Trey DuBose at the 2023 Textiles Jam, this operation creates a structure resembling a tree. Each time the operation runs, it will create a slightly different tree. The general shape of the tree is shaped by the parameters

Example banner

Parameters

  • ends: the number of ends in the structure
  • pics: the number of pics in the structure
  • prob of new branch: A probability (from 1-100) that describes how likely a new branch will form as the algorithm travels down the picks.
  • prob of grow out: A probability (from 1-100) that the branch grow horizontally.

Application

A fun exploration of generative structures that can be used or manipulated within the creation of a design.

Developer

adacad id: rand_tree

packages/adacad-drafting-lib/src/operations/rand_tree/rand_tree.ts
loading...