https://github.com/ran-2012/drawhexgrid
A simple tool to draw hex grids.
https://github.com/ran-2012/drawhexgrid
borad-game typescript webpack
Last synced: about 2 months ago
JSON representation
A simple tool to draw hex grids.
- Host: GitHub
- URL: https://github.com/ran-2012/drawhexgrid
- Owner: ran-2012
- Created: 2020-08-24T12:26:41.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-25T03:34:55.000Z (almost 6 years ago)
- Last Synced: 2025-02-28T01:18:43.550Z (over 1 year ago)
- Topics: borad-game, typescript, webpack
- Language: TypeScript
- Homepage:
- Size: 379 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DrawHexGrid
A simple tool to draw hex grid.
Here is the sample:

## TODO
- add parameter inputs, e.g. size, color, line width etc.
- support background
- different grid style.
## dev
This tool is pretty simple currently , not much to say.
## build
Assuming you've installed Node and NPM.
- `npm install`
This step may have some problem, due to package `paper`'s post-install script(I'm not sure). It could not run in Windows's console. So find a proper terminal or build in Linux.
- Download `paper` and `jquery` lib files and put them in `scripts` directory.
- `webpack`
- Now you can find the generated `bundle.js` in 'build' directory.