Creating a tiled mesh at runtime

a very useful little snippet indeed. thx for sharing.