Auto action to create a customized grid of windows.
It's annoying to draw a lot of windows for city skylines, so I made this tool. It creates a customized grid. The lines can be a little slanted, so it's best suited for buildings that are farther away.







Video:

Detailed Instructions:
0.) Before starting the auto action, select an area to fill with windows.
- A new layer will be created, so you don't have to worry about messing up your current layer.
- (!) If you don't make a selection, the effects will appear over the entire canvas. Your computer might not like that.
1.) Start the auto action.
Choose the number of vertical divisions.
- Zigzag prompt (left):
- Wave height = initial line thickness.
- Number of waves = how many lines.
- Motion Blur prompt (right): smooths and straightens lines. You usually don't have to change anything, but the option appears just in case:
- Lower the intensity if the lines become too faint or if you are concerned about computer performance.
2.) Make lines opaque.
- Binarization prompt: change intensity until all lines are black.
3.) Choose the final line width.
- Adjust Line Width prompt: the default setting is thin, but if you want you can thicken the lines instead..
4.) Answer prompts again when they reappear for horizontal divisions.

5.) Enjoy your windows!

Notes:
- For outlines, enable Layer Property -> Border Effect -> Effect Range: Mask Image.
- At the end, the grid becomes a layer mask. If you want to keep the grid as two separate layers instead, turn off all steps after the final motion blur.