ParquetFloorandom allows to build a random wooden floor with some pieces defined in different layers.


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 visible 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.


No thoughts on “Make a Random Floor from a few slats”

Leave your comment

In reply to Some User



An original idea from Loic Aigon, designed by Eddy.VH. It 's a scripts library for Desktop Publishing Adobe products. Find Javascript for Photoshop, Illustrator, inDesign and Acrobat or ATN scripts ( Photoshop actions ) you need.