TILE TOY

Posted February 10, 2011 at 15:27 in Graphics, Illustrator, Scriptographer - 4 comments

Finally my new script works!

The idea was to make a script that would, out of limited number of tiles, create seemingly infinite variations of map- or roadlike patterns.

The tiles needs some rules in order to pair them up so I drew some temporary lines representing roads just to make it easier to understand how to match them up with each other. I soon noticed that I only needed six different variations in order to make a continous map/pattern without any of the lines ending abruptly.

No matter what tile the script chooses, it will always be possible to put another tile on either side of it and make it pair up with the rest of the pattern since all the roads lie on the symmetry axis. This is, on the other side, only true if each tile is ‘single filed’. The number of tiles needed will increase dramaticly with every additional ‘file’.

In the single file tile set above there are 16 possible ways of placing the tiles:

  • Tile #1: 4 rotations
  • Tile #2: 4 rotations
  • Tile #3: 1 static
  • Tile #4: 2 rotations
  • Tile #5: 1 static
  • Tile #6: 4 rotations

But, in a tile set with a higher number of files simply rotating the tile in 90º increments won’t do since it’s symmetry axis will be offset.

Evidently, reflecting a tile both vertically and horizontaly yields the same result as rotating 180º.

The script has to consider the fact that each tile should be able to both rotate and reflect.

4 Responses to “TILE TOY”

  1. Lars
    April 6th, 2012 at 20:47

    Hi,

    Great project. I was wondering if you published the code for it?

    Regards,
    Lars

  2. Håkan @ Monovektor
    May 9th, 2012 at 12:12

    Hi Lars,
    no I haven’t published it anywhere (yet). The reason is that I’m not entirely sure if I’m done using it for my own projects. Also, I don’t know if it is stable enough as the code is VERY rudimentary with a lot of quick ‘n’ dirty solutions. Maybe if I re-write the whole thing some time in the future I will post it on the Scriptographer site – or here. Time will tell.

    Thanks anyway
    /Håkan

  3. Aida Dedic
    June 4th, 2019 at 8:09

    Hi, I am doing a project (interior design office in Sydney) where i would love to use this pattern as a film on Glass. Is there a way i can get rights to use it?
    Would be great if you can let me know.
    Thank you!

  4. E Lozano
    November 6th, 2020 at 5:14

    Hi! Is there any way I could use this pattern to modify for a research paper on parametric design. Thanks!

Reply