Toying with randomizing the wing base, that is the positions of the first segment of the primary veins.
Just adding those four parameters to change those positions dramatically increases the time it takes to find a valid pair of wings. Like, often more than ten seconds. No good.
So I separated the randomization for the wing base and the primary veins. That way when I find good parameters for the wing base I can retain them while I try generating different primary veins. It definitely speeds things up.
Here are the boxes that I’m using for rejections. The base of the wing needs to fit within the smaller box. The base and the tips need to fit in the larger.
I still get some really stupid wing shapes:
I can’t even generate cross veins for that.
Here are some good ones: