This script creates an image filled with a texture that represents a crossword grid featuring a random distribution of shaded cells.attern, making it possible to obtain styles and variants of crosswords that break with tradition, in the sense that the generated grids can be colorful, not symmetrical, oblong and so on.
"Crossword Grid" applied
Once installed, you can access this script in the image window menu through: "File -> Create -> Patterns -> Crossword Grid...".
Specify the horizontal and vertical size of the crossword grid as a number of cells in the corresponding direction. Values can range from 8 to 32.
Define the width and the height (in pixels) of every cell. Values can range from 16 to 64.
Sets the background color of the cells where the letters are to be written.
Sets the color of the shaded cells which separate the answers.
Sets the color of the borders of cells and grid.
Defines the thickness (in pixels) of the inner border of every cell. Values can range from 0 to 4.
Defines the thickness (in pixels) of the outer border of the whole grid. Values can range from 0 to 16.
Controls the distance (in pixels) between the cell border and the edges of any block. Values vary within a range of 0 to 16.
Specifies the maximum allowed length for the answers. Values can range from 8 to 32.
Checking this box will cause the crossword grid to appear the same if turned upside down.
When activated, this checkbox causes the numbering of the cells in which the answers begin.
As for the clue numbers, here you can specify the size of a single digit as a percentage of the cell height. Values vary within a range of 25 to 50.
Sets the color of the clue numbers.
Lets you select the font for rendering the clue numbers.
With these options, you can influence the haphazard way the pattern will be generated, by selecting the method through which to obtain the random seed, that is the integer number which determines the randomness of the arrangement of the shaded cells in the crossword grid that is to be created. In general, different random seeds lead to different grids.
Enables you to choose a specific random seed for the crossword grid to create, as long as "Random behavior" is set to the pertinent option. Values vary within a range of 1 to 2147483646.
By checking this box, you will obtain a multi-layer image, where each layer depicts a different element of the crossword grid (Background, Blocks, Clue Numbers, Cell Borders, Grid Border). This separation will give you the possibility to modify the content of any of such layers at a later time, by optionally filling them with a different color or even with a texture or a gradient.
The script also records a summary of the crossword grid's characteristics into the image comment of the generated pattern, where the script settings will be listed side by side with the corresponding specified values, as shown in the illustration below. Several file formats (XCF, PNG, JPEG, etc.) can save this information, on which it is handy to draw up when you want to reproduce all or some of the listed features on subsequent grids.
You can access the image comment from the image menubar through "Image -> Image Properties" by selecting the "Comments" tab.