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.
Zitieren als
Tauseef Gulrez (2026). Hex_grid_generator (https://github.com/PCT-Models/predatorprey), GitHub. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- AI and Statistics > Deep Learning Toolbox > Train Deep Neural Networks > Function Approximation, Clustering, and Control > Function Approximation and Clustering > Clustering >
Tags
Quellenangaben
Inspiriert: Hex_grid_circular, 3D Hex Grid Generator
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Versionen, die den GitHub-Standardzweig verwenden, können nicht heruntergeladen werden
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 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 | .
|
||
| 1.0.0.0 | . .
|
