Hexagonal Grid Generator
Recent RSS
Creator:  Shanfan Huang
Date:  16. November 2011, 09:40

This script generates a hexagonal grid then fills the color from an underlying rasterized image. So you first place an image with in the artboard, and rasterize it. Then execute the script.

The blurry photo I used here is from Yunyunsarang Deviantart.

*** JAN 4 2012 *** IMPORTANT UPDATE ***
Upon seeing so many bug reports, I decided to write a more user friendly Grid Generator that focuses on the grid, nothing else. Hope this would resolve the issue and happy new year every one! :)

This image is modified in Photoshop.
The original image and the hexagonal grid.
Re: Hexagonal Grid Generator
From:  Mikey
Date:  11. February 2012, 02:48


This site is amazing, so don't apologize. I plan to start hanging out here in my spare time. Anyways, I figured out the problem, at least Im sure on my end, I can't speak for anyone else.

I just discovered your scripts the other night, and hastily downloaded, put them into to AI script folder, and called it a night.

I realized (a few minutes ago) that there was an entirely different install needed before any of the scripts would work, so Im going to read (like I should have) and follow the instructions (like I should have) instead of installing these like a giddy teenage designer. Im sure they will all work flawlessly.

So, my mistake, can't wait to utilize these things. Thanks. I'll be back soon.

Re: Hexagonal Grid Generator
From:  Shanfan Huang
Date:  11. February 2012, 03:16

I'm sorry I really couldn't understand this error.
The error is saying that the Path method (making a new path) is undefined, which is not true as Scriptographer defined it.

This is the first script I wrote for Scriptographer. Probably quite buggy...
I suggest you go to this script:
Grid GeneratorGrid Generator

It's supposed to be more universal. Thanks!

Re: Hexagonal Grid Generator
From:  alex
Date:  11. May 2012, 05:26

awesome !! tnx !! i love your greate job

Re: Hexagonal Grid Generator
From:  ajd
Date:  20. November 2012, 21:35

I'm sorry to do this considering how long ago this was originally posted. I've been trying to get this script to work and I've been getting the following message

TypeError: Cannot read property "topLeft" from undefined
at My Scripts/hexagonalGridGen.js:17
TypeError: Cannot read property "topLeft" from undefined
at My Scripts/hexagonalGridGen.js:17
TypeError: Cannot read property "topLeft" from undefined
at My Scripts/hexagonalGridGen.js:17
TypeError: Cannot read property "topLeft" from undefined
at My Scripts/hexagonalGridGen.js:17

Obviously I'm a noob with this but its such a great script I'm dying to use it.
I'm using a Mac with CS4.

If possible can someone give me a step by step on how to make this work?


Re: Hexagonal Grid Generator
From:  Steven
Date:  26. February 2013, 17:33

I was having issues where the resultant grid was very dark—almost totally opaque black—but realized that when I was rasterizing my image I had selected the option to render white areas as transparent. Changing from transparent rasterization to opaque fixed it, and I started achieving the results I was after. Thanks for the script!

Re: Hexagonal Grid Generator
From:  rachel
Date:  30. April 2013, 06:44

/Users/Setup/Desktop/Screen Shot 2013-04-30 at 10.42.31 AM.png
this is the error message i get.
Can you help please,

Re: Hexagonal Grid Generator
From:  Miguel
Date:  27. February 2014, 12:58

Hi, sorry, I speak bad English. No script works as well, can you help me, I do not understand the message and can not do anything with it, thanks

Re: Hexagonal Grid Generator
From:  Luis Marin
Date:  31. October 2014, 18:41

Hi, i'm new in this forum.
Im trying to get this scritp to work

I'm on CS6 on OSX

Re: Hexagonal Grid Generator
From:  none
Date:  10. November 2014, 15:36

@ Luis Marin

Scriptographer was never released for and does not work with CS6.

Read more:

08.08.14, 15:24
15.05.14, 14:23
02.03.14, 19:16
18.11.13, 14:48
22.03.13, 03:05
22.02.13, 15:45
10.01.17, 16:37
19.02.16, 06:03
19.02.16, 06:00
17.01.16, 11:00
12.01.16, 13:10
25.11.15, 08:19