mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-19 18:41:23 +01:00
Update grid overlay to add tilings
Added square rotated 45 degrees, truncated square tiling, tetrakis square, triangular tiling, trihexagonal tiling and rhombille tiling with rhombus. Inspired by these uniform tilings: https://en.wikipedia.org/wiki/List_of_Euclidean_uniform_tilings
This commit is contained in:
parent
845dc893d2
commit
97b84110df
1 changed files with 24 additions and 0 deletions
24
index.html
24
index.html
|
|
@ -1029,6 +1029,12 @@
|
|||
<option value="pointyHex">Hex grid (pointy)</option>
|
||||
<option value="flatHex">Hex grid (flat)</option>
|
||||
<option value="square">Square grid</option>
|
||||
<option value="square45deg">Square 45 degrees grid</option>
|
||||
<option value="squareTruncated">Truncated square grid</option>
|
||||
<option value="squareTetrakis">Tetrakis square grid</option>
|
||||
<option value="triangle">Triangle grid</option>
|
||||
<option value="trihexagonal">Trihexagonal grid</option>
|
||||
<option value="rhombille">Rhombille grid</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -7800,6 +7806,24 @@
|
|||
<pattern id="pattern_flatHex" width="43.4" height="25" patternUnits="userSpaceOnUse" fill="none">
|
||||
<path d="M 43.4,0 36.2,12.5 43.4,25 M 21.7,12.5 H 36.2 Z M 0,0 H 14.5 L 21.7,12.5 14.5,25 H 0" />
|
||||
</pattern>
|
||||
<pattern id="pattern_square45deg" width="25" height="25" patternUnits="userSpaceOnUse" fill="none">
|
||||
<path d="M 25 12.5 L 12.5 0 0 12.5 L 12.5 25 L 25 12.5" />
|
||||
</pattern>
|
||||
<pattern id="pattern_squareTruncated" width="25" height="25" patternUnits="userSpaceOnUse" fill="none">
|
||||
<path d="M 8.33 25 L 0 16.66 V 8.33 L 8.33 0 16.66 0 25 8.33 M 16.66 25 L 25 16.66" />
|
||||
</pattern>
|
||||
<pattern id="pattern_squareTetrakis" width="25" height="25" patternUnits="userSpaceOnUse" fill="none">
|
||||
<path d="M 25 0 L 0 0 0 25 M 0 0 L 25 25 M 0 25 L 25 0 M 12.5 0 L 12.5 25 M 0 12.5 L 25 12.5" />
|
||||
</pattern>
|
||||
<pattern id="pattern_triangle" width="25" height="50" patternUnits="userSpaceOnUse" fill="none">
|
||||
<path d="M 25 25 H 0 L 12.5 0 25 25 12.5 50 0 25 M 0 0 H 50" />
|
||||
</pattern>
|
||||
<pattern id="pattern_trihexagonal" width="25" height="43.4" patternUnits="userSpaceOnUse" fill="none">
|
||||
<path d="M 25 10.85 H 0 L 18.85 43.4 25 32.55 H 0 L 18.85 0 25 10.85" />
|
||||
</pattern>
|
||||
<pattern id="pattern_rhombille" width="33" height="20" patternUnits="userSpaceOnUse" fill="none">
|
||||
<path d="M 5.5 20 L 0 10 5.5 0 H 16.5 L 11 10 16.5 20 22 10 16.5 0 27.5 0 33 10 27.5 20 M 0 10 H 11 M 22 10 H 33" />
|
||||
</pattern>
|
||||
</g>
|
||||
|
||||
<g id="defs-hatching">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue