- Written by Eddy
- Category: JS Photoshop
- Also available:
- Hits: 4925
A wooden floor is made of some rectangular pieces arranged in columns and rows.
This script builds a floor into a new layer with some rectangular pieces defined each in a different layer. The name of a piece layer must begin with "FP". These reference pieces are copied and arranged into rows and shifted columns.
Reference pieces can have different sizes. The dimensions of the first piece (that is the first layer prefixed with "FP...") are used to resize other pieces before inserting them into the floor.
Pieces are randomly choosen, shifted and rotated. The script avoids to put twice the same piece into adjacent columns.
A simple user interface allows to parametrize the column and row numbers of the result floor. If the result floor does not look as nice as you want it, just restart the script. A bigger number of reference pieces gives a more regular floor.