I'm writing software to dynamically create a random, generated world (civ-esque), populate it with settlements, and draw roads between them. It would be relatively easy to draw roads like this:
However, what I really want is a more "efficient" way of building roads. Something like this:
I appreciate that there must be a relationship between the length of line a and the angles at point x, but I just don't see it. Can anybody help?
Edit: I'm thinking we fix angle BxC at an arbitrary value, perhaps even chosen randomly between a range of values at computation-time to give each intersection some variety.