Experiment 001 - Ropey Bush : Mark Taylor’s Coding Experiments


Experiment 001 - Ropey Bush

Posted by mark.taylor at 02:10 | Filed In Uncategorized

Experiment 001 - Ropey Bush

I’m aiming to make a Christmas Tree by Christmas. Here is my first experiment:

The algorithm starts at the base. Each branch is drawn by a random x and y (although y is always minus). There is a 20% chance a new branch will spawn and a 10% chance the branch will die. The max depth has been set to 20.

Not quite what I was after, interesting bush nevertheless.

Comments



Leave a Reply

You must be logged in to post a comment.