Author Topic: Tile Sampler: Random size along one axis without wrecking interstices  (Read 310 times)

I am trying to create slate roof tiles with roughly a 50% offset, and random size.

My basic set up is that I'm feeding a Gradient Linear 1 into the pattern input of one of a Tile Sampler.



My problem is that I can't figure out how to give the tiles a random size in the x direction without either getting

1) Huge gaps between some tiles


2) Tiles overlapping and the interstice vanishing to nothing.


This is because unlike Tile Random, Tile Sampler scales each tile without shifting its neighbors. And this is actually necessary in order to have the tiles appear to be of different lengths along the y axis, as they are.

Any ideas how I might go about fixing this?