@@programmingchaos8957 I wonder if sierpinski triangle could be implemented in a way that we keep zooming into the smallest triangle in our screen like an animation via script? And it would be so cool to see the visualization of paradoxes such as the tribar paradox.
I've been working on video for zooming in on the Mandelbrot set, should work similarly for the Sierpinski triangle. Paradoxes are a nice idea. I've been trying to collect visual illusions that code well.
I'm very glad you enjoyed it. The code for most of the projects is not currently available. It's the teacher in me - I feel like we learn a lot more when we have to type it out ourselves \shrug.
thanks for the lesson. It would be interesting to think about a "biologically correct" simulation. As far as I understand, the tree prefers to grow those branches whose foliage brings the greatest amount of solar energy. Therefore, single-standing trees are very lush, but trees in a dense forest try to stretch as high up as possible so as not to be shaded from the light by other trees
You're welcome, and right about the biology. I know of at least one (I'm sure there are other's) interesting research paper that studies exactly that (dl.acm.org/doi/abs/10.5555/646810.704242, "Coevolution Produces an Arms Race among Virtual Plants", Eben, Marc et al. EuroGP 2005). They used an evolutionary algorithm: grow lots of different trees somewhat similar to how I did it, throw away the ones that don't get much light, let the ones that get light 'reproduce' but mutate their parameters (branch angle, reduction amount, leaf size, etc.) a little so they evolve. They did two sets of experiments, one with trees/plants growing in isolation and one with them growing clumped together. As you predicted the one's growing in isolation evolved to be bushy or even just sprawl over the ground, and the one's growing in clumps evolved to be much taller.
That is completely true, I will type it and experiment with it. I am trying to simulate dendritic erosion in tidal flats. Thanks!
That sounds very cool! If you get it working send me a link, I'd love to see it.
This is an amazing tutorial! Thank you so much for such a clear explanation and an interesting topic.
I'm really glad you enjoyed it and found it helpful. If you've got any topics you'd like me to cover let me know and I'll see what I can do.
@@programmingchaos8957 I wonder if sierpinski triangle could be implemented in a way that we keep zooming into the smallest triangle in our screen like an animation via script?
And it would be so cool to see the visualization of paradoxes such as the tribar paradox.
I've been working on video for zooming in on the Mandelbrot set, should work similarly for the Sierpinski triangle. Paradoxes are a nice idea. I've been trying to collect visual illusions that code well.
Nice tutorial. Lots of thanks!
Thanks. I recently watched your video on simulating multi-body collisions, very impressive.
Very interesting video on recursion. Is the code available to download, or we need to type it ourselves. Thanks, Alejandro.
I'm very glad you enjoyed it. The code for most of the projects is not currently available. It's the teacher in me - I feel like we learn a lot more when we have to type it out ourselves \shrug.
thanks for the lesson. It would be interesting to think about a "biologically correct" simulation. As far as I understand, the tree prefers to grow those branches whose foliage brings the greatest amount of solar energy. Therefore, single-standing trees are very lush, but trees in a dense forest try to stretch as high up as possible so as not to be shaded from the light by other trees
You're welcome, and right about the biology. I know of at least one (I'm sure there are other's) interesting research paper that studies exactly that (dl.acm.org/doi/abs/10.5555/646810.704242, "Coevolution Produces an Arms Race among Virtual Plants", Eben, Marc et al. EuroGP 2005). They used an evolutionary algorithm: grow lots of different trees somewhat similar to how I did it, throw away the ones that don't get much light, let the ones that get light 'reproduce' but mutate their parameters (branch angle, reduction amount, leaf size, etc.) a little so they evolve. They did two sets of experiments, one with trees/plants growing in isolation and one with them growing clumped together. As you predicted the one's growing in isolation evolved to be bushy or even just sprawl over the ground, and the one's growing in clumps evolved to be much taller.