Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

In Gimp (preferrably) or Photoshop, how would you please draw such a board for a word game?

enter image description here

I wonder how to:

  1. Draw a grid with equidistant lines for a 15 x 15 board?
  2. In the colored rectangles - how to put the strings "3L", "3W", etc. (missing in the above image) - so that they are really in the middle?
share|improve this question
4  
I would prefer using Illustrator for a job like this. In there, you can easily draw a square and Object > Path > Split into Grid.... –  Vincent Nov 15 '13 at 12:15
    
I am struggling with Illustrator so much every time I have to use it, would prefer Gimp or Photoshop if possible –  Alexander Farber Nov 15 '13 at 12:20
    
More info on Bakabaka's suggestion here –  JohnB Nov 15 '13 at 13:52
1  
There is a Photoshop plugin called GuideGuide which you might find helpful –  John Nov 15 '13 at 14:07

1 Answer 1

up vote 2 down vote accepted

In Gimp there is a plugin named grid which is very simple to use.

Plugin parameters are width (of the lines), spacing (between lines) and offset from the top left corner.

You need to calculate the value of the spacing (or the dimension of the image), but it is very simple. For example, assuming that you want a 40x40 px peg with a border width of 2 px, you need a 632x632 px image, where 632=(40+2)*15+2.

Starting from a white image, the grid plugin is in Filters->Render->Pattern->Grid and you can set your values (width=2, spacing=42, offset=1)

Grid plugin

Obtained the grid you can fill the pegs: Grid with colored pegs

Now, you need to add the text and center it on the pegs. Here can be useful the Align tool.

Write your text (it is in his own layer) and then select (with the magic wand tool) the peg in which the text should be centered:

Text and peg selected

Activate the Align tool and choose in his options to be relative to selection. The pointer is now a hand, select the text:

Text selected for alignment

And use the tool to center it on the selection:

Text aligned

Repeat until done...

enter image description here

So, it's possible, but surely it's simpler in Inkscape or in Illustrator (or, perhaps, you can write the grid as an html page or use Excel or similar and take a screenshot). A ready made SVG grid is here, on Wikimedia Commons.

share|improve this answer
1  
Great answer, thank you! I was thinking of writing a Perl/gd script, but now I will try Gimp for that. –  Alexander Farber Nov 16 '13 at 22:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.