Hex_grid_generator

Behavioral Anatomy of a Hunt

https://github.com/PCT-Models/predatorprey

You are now following this Submission

Hexagonal grids are used in some games but aren’t quite as straightforward or common as square grids. I’ve been using hex grid for more than three years, and published this code that lead to the simplest formation of a hexagonal grid.
While using this code, please, cite our paper, for which the code was developed, "Measuring Behaviour as Perceptual Control Using Human Simulations of Predator and Prey Pursuit." S. Sandhu, T. Gulrez, M. Parker, W. Mansell. Measuring Behavior 2018, Manchester, UK.

Cite As

Tauseef Gulrez (2026). Hex_grid_generator (https://github.com/PCT-Models/predatorprey), GitHub. Retrieved .

Acknowledgements

Inspired: Hex_grid_circular, 3D Hex Grid Generator

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
2.0.0.4

Github website.

2.0.0.3

.

2.0.0.2

.

2.0.0.1

Full grid lines are added.

2.0.0.0

.
.
.
Center points can be obtained for both the inside and outside of hexagons, in a complete mesh format.
.

1.0.0.0

.

.
.
.
.
.
.

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.