[url removed, login to view]
It is required to make a grid of triangles expanding in hexes. The problem is that the vertices can be articulated and required each time before adding a new vertex to the grid, run through the function:
Where a and b are a source and a new peak. It is required that either the middle of the previous edge (if directed through it) or the concluding vertex from which the vertex originates comes from either.
All the connecting vertices should be chroned in the neighboring clockwise direction.
Ready to pay $ 20.
n (a, b) will simply simulate the general vector of gravity by a, and line a-b so that a-b is perpendicular to the gravity line (and then another).
Contact me Denis Ivanov [url removed, login to view]@[url removed, login to view]