| Attachment | Size |
|---|---|
| 14.16 KB |
Gino D's GIMP Scripts:
https://sites.google.com/site/ginodonig/gimp-scripts
_

This script creates an image filled with a texture representing a crossword grid with a random placement of shaded cells. It is equipped with several options which permit to define the main characteristics of the pattern, to the point that it is even possible to obtain styles and variants of crosswords that break with tradition, namely the grid will be allowed to be colorful, not symmetrical, oblong, and so forth.
Once installed, you can access this script in the image window menu through "File -> Create -> Patterns -> Crossword Grid..." .
_

Options are:
Number of columns / Number of rows
Specify the size of the crossword grid.
Cell width / Cell height
Determine the dimensions (in pixels) of every cell.
Color of lights
Sets the background color of the cells into which the letters shall be written.
Color of blocks
Sets the color of the shaded cells which separate the answers.
Cell border thickness / Cell border color
Define the width (in pixels) and the color of the inner border of the cell.
Block margins
Controls the distance (in pixels) between the cell borders and the edges of the block.
Maximum answer length
Specifies the maximum allowed length for the answers.
Ensure 180-degree rotational symmetry
Checking this box will cause the crossword grid to appear the same if turned upside down.
Insert clue numbers
When enabled, this option produces the numbering of the cells in which the answers begin.
Size of digit
As for the clue numbers, here you can specify the size of a single digit as a percentage with respect to the cell width.
Text color
Sets the color of the clue numbers.
Font
Lets you select the font for the clue numbers.
Keep layers separate
By checking this box, you will obtain a multi-layer image, where each layer depicts a different element of the crossword grid (background area; blocks; cell borders; clue numbers).
_
Below you can see some examples of fancy crossword grids generated by the script.

Comments
Nice script!
Might make a nice addition to a website or web-magazine game area. :)
Hot Potato software used to make a puzzle creator like this that would add the clues.
Now that would be a nice addition to the script!
Thanks for your comment, Rod
Adding such functionality would be great, but at the same time I think it is something too difficult to implement through a script written in the Script-Fu language.
As you can imagine, indeed, if from the one hand it is relatively easy to update the script so as to optionally fill the empty cells (the lights) with random letters, from the other hand the task of arranging for those letters to form reasonable words has every appearance of being a much more advanced feature, since it would require a quite large thesaurus of available words as well as an algorythm to perfectly cross them each other within from time to time different grids.
Anyway, thanks for your comment and for recommending such a nice application, Hot potatoes, that I didn't know before now!
i don't think fill with
i don't think fill with random letters will be easy:
problem is the randomness, for computer seems not simple do something really random
In my opinion it is feasible
Tiny-Fu actually provides some functions (such as "random", "rand" and "random-next") aimed to generate random integer numbers, which can be used as indices for selecting individual letters stored inside a vector or a string containing the 26 letters of the latin alphabet.
Hence, I mean something like this:
(set! s "ABCDEFGHIJKLMNOPQRSTUVWXYZ")
(set! k (random 26))
(set! L (substring s k (+ k 1)))
where L will always return a random letter.