Skip to content

Instantly share code, notes, and snippets.

View groznet's full-sized avatar

Kerim Timirbulatov groznet

View GitHub Profile
@groznet
groznet / hexagons.js
Created March 13, 2020 16:58 — forked from matthewisabel/hexagons.js
Drawing a hexagonal grid with HTML canvas
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Canvas Hexagonal Map</title>
<style type="text/css">
canvas {
border:0;
display:block;
margin:0 auto;