Tiling squares on the plane, methods

  • Thread starter Thread starter Coin
  • Start date Start date
  • Tags Tags
    Plane Squares
Coin
Messages
564
Reaction score
1
Hm, is this the right place to ask this? It's kind of a topology question, I guess.

Let's say I've got a square. It's got four sides.

Code:
______
|  1  |
|2   3|
|  4  |
------

And I want to tile this over and over on the plane.
Code:
________________________
|  1  |  1  |  1  |  1  |
|2   3|2   3|2   3|2   3|
|  4  |  4  |  4  |  4  |
------------------------
But! Sometimes, as I place the tiles, I want them to rotate.

Code:
________________________
|  1  |  2  |  1  |  1  |
|2   3|4   1|2   3|4   1|
|  4  |  3  |  4  |  3  |
------------------------

If you think about it, both of these tilings are defined by "identifying" sides. In the first, normal tiling, I identified the following sides:
(2,3)
(1,4)

In the second, rotated tiling, I identified:
(1,2)
(3,4)

Here (1, 2) being "identified" means that if you go off the edge of side 1, you'll find yourself just on the other side of side 2.

This all make sense?

So, here's my problem:

I'm doing this in a computer program. And once I've chosen the side identifications, I want to draw the tiling on the screen. So every time I draw a tile, I have a tile coordinate, say, [0,0] or [3,4]-- [3,4] meaning, like, the third tile over on the x-axis and the fourth tile up on the y axis. If that makes sense?

So given only that coordinate, I need to figure out: This tile I'm about to draw, what amount of rotation does it have?

In other words, I need some procedure for calculating the function
R(x,y)
Where R returns, for the tile at the coordinate x,y, is it rotated 0, 90, 180, or 270 degrees?


So my second tiling above would look like:

Code:
T(0,0) T(0,1) T(0,2) T(0,3)
0      90     0      90
___________________________
|  1  ||  2  ||  1  ||  1  |
|2   3||4   1||2   3||4   1|
|  4  ||  3  ||  4  ||  3  |
---------------------------

---

...It actually gets worse. Once I have this worked out, I have to figure out what happens if I add reflections-- I.E. with reflections a set of identfications might be
(2,3)T
(1,4)
...T for twisted, such that the tiling looks like:

Code:
________________________
|  1  |  4  |  1  |  4  |
|2   3|2   3|2   3|2   3|
|  4  |  1  |  4  |  1  |
------------------------

---

Does the question I'm asking make sense, and does anyone have any insight on this? It seems like this ought to be a problem that someone, somewhere has had to solve before.

The annoying thing about this problem is that if I needed the reverse of what I need, that would be easy-- if I had the function R(x,y) I could easily calculate the (1,3)+(2,4) mappings from it, by just querying R(0,0), R(1,0), R(1,1), etc until I had all the sides accounted for. But going the other way around seems difficult or at least very nonobvious.
 
Last edited:
Physics news on Phys.org
I suspect you can get your answer simply by setting up a (family of) recursive equation(s), and then solving it (them).
 
Hurkyl said:
I suspect you can get your answer simply by setting up a (family of) recursive equation(s), and then solving it (them).

Hm, I'm sorry but I'm afraid I'm not really sure what "recursive equations" means in this case? The only examples of "recursive equations" I can think of would involve something transforming over time, which isn't at all happening here... hm.
 
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...

Similar threads

Back
Top