17 lines
736 B
Markdown
17 lines
736 B
Markdown
# Hexagon Tiling (7 ways)
|
|
|
|
A Pen created on CodePen.io. Original URL: [https://codepen.io/Manoylov/pen/dyorBVb](https://codepen.io/Manoylov/pen/dyorBVb).
|
|
|
|
Hexagon Tiling
|
|
|
|
Controls :
|
|
|
|
mouse move: rotate hovered hexagons
|
|
mouse click: generate new hexagon variant
|
|
|
|
keyboard
|
|
1-7: switch between different hexagon patterns
|
|
'c': generate different colors and sizes for hexagons
|
|
'h': show contours of hexagons
|
|
any others: regenerate hexagons
|