Skip to content

andeemarks/clj-hex-grid

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
 
 
 
 
 
 
 
 

clj-hex-grid

A Clojure library implementing the algorithms specified in http://www.redblobgames.com/grids/hexagons/.

Build Status

Features

  1. Angles, size, spacing - Done
  2. Coordinate systems - To do
  3. Conversions - Done (offset to/from cube only, no axial)
  4. Neighbours - Done (cube and offset, no axials, no diagonals)
  5. Distances - Done (cube and offset coordinates)
  6. Line drawing - Done (cube coordinates)
  7. Range - In progress
  8. Rotation - To do
  9. Rings - To do
  10. Field of view - To do
  11. Hex to pixel - To do
  12. Pixel to hex - To do
  13. Rounding - To do
  14. Map storage - To do
  15. Wraparound maps - To do
  16. Pathfinding - Done (cube coordinates)

License

Copyright © 2015 FIXME

Distributed under the Eclipse Public License, the same as Clojure.

About

A basic Clojure library for working with hexagonal grids (inspired by http://www.redblobgames.com/grids/hexagons/)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published