by Tuğrul Yazar | November 30, 2022 22:12
Let’s make some nostalgia. I thought of a very simple and useful algorithm that I can generate with Grasshopper[2]. At the concept stage in architectural projects, I tried to derive figures that could symbolize the trees on the land. To make random low poly[3] trees in Grasshopper we need several lists of random numbers first. The Facet Dome component will meet all our needs. In the code I shared on this page, I arranged the data tree structure to handle one or more points. Thus, one can derive a large number of tree figures which are different from each other. What will this do? Will it solve our problems? Of course not. Because I’m just killing some time, that’s all.
I actually developed this code for a friend of mine a long time ago. It was reading the height, species, and diameter data of the trees from the excel table. But unfortunately, I lost that code. So I recreated it. So this code can be refactored in such a way that information about trees is processed by reading it from a table. You can download and try the Grasshopper code above and see the results. If you are new to Grasshopper, this code will be a good example to show you how to use data trees and the ReMap Numbers component. Finally, I think the basics of parametric modeling can be understood through very simple and plain examples like this; “Low poly Trees”.
Source URL: https://www.designcoding.net/low-poly-trees-in-grasshopper/
Copyright ©2024 designcoding unless otherwise noted.