Branching out

I was going through some of the tutorials for iGeo today and I ended up spending some time messing around with the built in agent class. It’s not really much more than a minor convenience but it is nice to have the framework already in place. One of the examples was a simple branching script that removes overlapping lines. I carried it on a bit further myself in attempt to make something more interesting. I added in some variation based on the generation of the branches so that the angles become more extreme as it progresses, as well as adding some additional rules about when the new branches occur so the lines don’t fill in the gaps too much. I also made the color vary with the generation so the ultimate effect is a transition from a ridged cold grid to an energetic chaos. Its pretty fun to watch it grow, I’ll probably compile a video later and post it so you can see it in action.

Leave a Reply