Skip to content

andeemarks/clj-hex-grid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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