# Hexagonal Grid Pick?

Hey guys, is there any approach made already for an hexagonal Grid Pick?

Thanks,
Gustavo

deep, deep in my project folders i may have something similar.
*i can’t promise at all
*if i have it will not simply work “out of the box”

Nice Kalle!

I will dig your project page deeply then.

Thanks ;)

oh no.
you misunderstood.
it is for sure not online, but eventually in the deepness of my harddisk.

Any way, loved your projects, in special the “3d led” one ;)

Ok just let me know if you find something, just if you have some time to do some search. I know how is it to look for old projects on my hd ;)

Best,
Gustavo

I just finished a patch that handles the construction of hexagonal patterns.

I will share it soon.

Now I just need something to convert from x-y to hexagon number.

I will see if can figure it out, if not I will bother you soon again.

best,
gustavo

I made a really messy patch that did this a while ago. When I finished it I realized this was much more easily done with intersect(3d Mesh Ray).

maybe I’ll post the calculation one too if I can stand to look at it long enough to be able to clean it up a little bit (it’s a very good example of bad patching practices)

hexgriddonesimple.v4p (18.0 kB)

with cylinder and intersect, indeed a clever approach.

Great!
Thanks Beyon, I learned a lot from your example.

I’m almost finishing my approach.

hey Beyon, it is easily to modify your design to have odd-even sized lines?

Like:

{CODE(ln=>1)}x x x x x
x x x x
x x x x x
x x x x
x x x x x
x x x x^

{CODE(ln=>1)}x x x x x
x x x x x
x x x x x
x x x x x
x x x x x
x x x x x^

Because in the odd-even way, it is easy to go from one hexagon to another using a regular math expression.

for example

{CODE(ln=>1)}1 2 3 4 5

6 7 8 9

10 11 12 13 14

15 16 17 18

19 20 21 22 23^

here using hexagon’s index and a + - operation you can easily focus to another hexagon.

+1 = focus right,
-1 = focus left
+5 = focus down right,
-5 = focus up left.
+4 = focus down left,
-4 = focus up right.

this is not possible if all columns have same amount of hexagons

If it is not very easy, don’t worry I’m about to finish my approach.

Thanks!

Hey, I can say I just made my first prototype of hexagonal step sequencer, take a look: video preview

I will do some cleaning then sharing ;)