78 |
79 |
80 | How this works?
81 |
82 |
83 |
84 | - We start with a random point.
85 | - In each step, we chose randomly one of the bigger vertex and move 50% (or what ever %age you specified) towards it from our current position.
86 | - We keep repeating the previous step till infinity.
87 |
88 |
89 |
90 |
91 | Why I made it?
92 |
93 |
94 |
95 | - Programming is my hobby and I enjoy doing random things in my free time (if I get any)
96 | - I saw just one example of JS canvas, and was amazed to imagine the things we can do with it.
97 | - I love Math + Fractals. I thoroughly enjoyed making this chaos out of nothing in JavaScript.
98 |
99 |
100 |
101 |
102 | Impressed? Learn with me 😁
103 |
104 |
111 |