Hellenic / react-hexgrid

Build interactive hexagon grids with React
https://hellenic.github.io/react-hexgrid/examples/
MIT License
318 stars 130 forks source link

Accessing individual elements generated by GridGenerator #34

Open swd543 opened 5 years ago

swd543 commented 5 years ago

There currently seems to be no way to access elements by [p,q,r], only accepted method is to use a single array index. The hexToPixel/pixelTohex functions seem to be broken since f0/f1 are not defined. Is there a recommended way to use these functions? The examples do not show any usages.