Twig Growth version 1

Li Huang

twig growth


This tool can generate a twig-like path among the points as user input. And the user can control the density as well as the overall bigness of these twig.

Here are some sample images:

Pseudo Code:

-add points

-get some random points on the line as user inputs

-orient circle  with random radius as user inputs to the random points on the line

-get random points on the circle

-connect the random points with the previous points as the twig

-scale the twig as a ramdon scale

-add pipe on the twig

%d bloggers like this: