# pyhexgrid

Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

# PyHexGrid

## What is it?

It's a small package to manage hexagonal grids. You tell it the size of the grid, and the size of the canvas you have, and it tells you the coordinates for drawing it. For examples, see the demos directory.

## Installation

To build it:

python setup.py build


To install it:

python setup.py install


Type:

python setup.py --help


for other things you can do.

Note: if you're on a Linux box you can just type make and make install in the usual manner.

# Recent activity

Commits by Glenn Hutchings were pushed to zondo/pyhexgrid

8103d65 - Don't use generators; simplifies user code.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.