Simple fractal tree generator It's a very simple tree generator using fractal structures. The angle is the property with the most influence on the tree. For the juiceness enthusiasts I add an easy to handle animation option. The source code is licensed under MIT. The export options dont work (well)...
Thanks, I'm stupid , because I thought that the love.graphics.rectangle works after the pattern x1,y1,x2,y2 and not after x,y,width,height.
EDIT: And thanks for the tip @arampl
I wanted to fill a grid with about 50% true and 50% false. This I do with random(100). Then I draw the grid on the screen, so I think the grid was filled nearly with same amount of false and true, but every time I tested the code the amount of true was giant compared with the amount of false. I trie...
I get a seemingly well-known error message("attempt to index a nil value") and I found some 'solutions', but no one helps, it's a little bit strange, because I doesn't index something with the critical code. I attach the .love file, hope you can help me.