-
Notifications
You must be signed in to change notification settings - Fork 13
Home
Welcome to the Geom_Kisrhombille wiki!
A KGrid is a system of vertices in the plane.
It is based on a kisrhombille tesselation.
A kisrhombille tesselation is a hexagon grid with each hexagon split up into 12 triangles. The triangles are like this.
The lengths of the sides are 1, √3, 2 ( aka fish, goat and hawk, respectively ).
The angles are π/2, π/3, π/6.
The number of connections at each vertex is 4, 6, 12.
The black dots are the vertices.
To address the vertices we first address the hexagons.
To do that we use a 3-integer address :
** ( ant, bat, cat ) **
In the kisrhombille tesselation each hexagon is like a clock face. 1 center vertex and 12 edge vertices. 13 vertices total. Let's call it a hexclock.
We address 6 vertices within each hexclock.
We do it using another integer-address : dog.
We address the vertices in each hexclock in a way that does not interfere with its neighboring hexclocks.
Therefor a vertex in the KGrid is addressed : ( ant, bat, cat, dog ).
Ant, bat and cat are any integer (tho some combinations of integer values are invalid).
Dog is an integer in range [0,5].
A KGrid is defined with 4 objects.
ORIGIN A point on the plane. The location of KVertex(0,0,0,0).
FORWARD Aka north. A direction. A floating point value in range [0,2π].
FISH : The unit interval of the kisrhombille system. The shortest side in our unit triangle. The other sides are of length ** Fish x √3** and Fish x 2.
TWIST : The direction in which we address vertices about the hexclock edge. The direction of positive index. Counterclockwise or clockwise.
The geometry delivers much graphical power without getting too crazy complex in the implementation.
We have 6 axes. That's a lot of design freedom.
It's smooth scaling. That is to say we can describe the same form at arbitrary resolution, just like with squaregrid and trianglegrid. (TODO need an illustration here)
Our angles and proportions are constrained. It makes for a unified graphic design. It looks good.
We can have equilateral triangles and rectanguloids in the same system, which is useful.