Open Gerstmann-Bradley opened 3 years ago
So a Hexagonal Grid Mesh node?
So a Hexagonal Grid Mesh node?
Yes, I think that's acceptable.
@OmarEmaraDev and @Gerstmann-Bradley
I built a setup for this a while ago and think I got the math right based on some algorithm I found online. You can check it out here, maybe it helps:
It would be cool, if this can be implemented natively. Thank you
@dapa5900 Seems to be similar to @harisreedhar's implementation in #1707. I want to merge a more general implementation though as I described there.
@OmarEmaraDev I have a patch for Hexagon distribution in Distribute Matrix
node. Do you think it worth adding to master?
@harisreedhar Sure.
I consulted this reference when programming my music visualization software. It is a very helpful, exciting and interactive reference for understanding and programming hexagonal grids. I strongly recommend it.
There's a reference from Sverchok "Polygon Grid" node. I'm not sure how far we need this. because its' a much more complex node in reality. Another thing is that I think both vertices of hexagon or Centers of a hexagon are important information that's needed. Current workaround is to Replicate "Circle Mesh" Node so we may potentially get vertices and centers of a hexagon, but it's difficult to make it mathematically correct. Considering the fact we may need both vertices and centers of a hexagon as output. I think we need to make a separate node besides distribution matrices node? What do you think?