Skip to content

fila90/hex-grid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hex-grid

apple watch-like grid, built with vanilla JS

preview

how to

// pass an array of data
const newGrid = hexGrid(Array(10)
  .fill(0)
  .map((_, i) => i));
// initialise the grid
newGrid.initGrid();
// optionally initialise event listeners
// grid will move on mousemove
newGrid.initEvents();

About

apple watch-like grid with JS and HTML

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published