Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there an easy way to generate an arbitrary two-dimensional Polyomino tiling:

Specifically, I would like to generate an array of integer coordinates, for example: {{0,1},{10,11},{15,6},...}, and then output a graphic showing a tiling pattern where a tile is centered at each integer coordinate in my array, and where each tile is labeled with its integer coordinate.

Is there a way for me to do this in three-dimensions?

I have access to Wolfram Mathematica 8.0.

share|improve this question
This [] may be of help. – DavidC Jan 8 '13 at 3:40
@dude Thanks, yeah, I read the MathWorld article, but it doesn't have any suggestions for implementations. Given, you know, N.K.S., I'm suspicious that there should be a way to do what I'm asking in four or less lines of Mathematica. – Roger Harris Jan 8 '13 at 3:46
Possible duplicate: – R. M. Jan 8 '13 at 4:00
up vote 5 down vote accepted

Take a look at the following articles:

Here is an example of a custom function usage from 1st article producing a tiling:

enter image description here

Also related:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.