Wrongly positioned branch

I wrote some code for generating cracks in concrete.
Here is my code:

--CODE DELETED BECAUSE I DON'T WANT ANYBODY ELSE TO USE IT


As you can see, all except one of the cracks are going up. I can’t figure out how to make them all go up.

1 Like

By up I mean in any direction EXCEPT sideways.