At My Fingertips

Truchet Tiles

Background

Truchet tiles were first described by Sébastien Truchet in 1704. The quarter circle tiles used here were introduced by Smith in 1987.

This blog post provides a nice description of generalized Truchet tiles, introducing the bridge tile we use here as well.

Task

Implement the truchet_tiles function to recreate the following graphic.

Truchet Tiles

Loading...

Implement the Basic Tile

This tile can occur in two different rotations:

Major: image.png

Minor: image.png

Loading...

Implement the Bridge Tile

image.png

Loading...

Tiling

Now produce a function that composes a matrix of tiles.

Loading...

Extensions

If you'd like, follow the blog post and implement the different moves to evolve a tiling:

  • Type 0A rule
  • Type 0B rule
  • Reidemeister move 1
  • Reidemeister move 2
  • Reidemeister move 3

You could also do two-color the tilings.


This activity has been created by LuCE Research Lab and is licensed under CC BY-SA 4.0.

Truchet Tiles

Logo of PyTamaro

PyTamaro is a project created by the Lugano Computing Education Research Lab at the Software Institute of USI

Privacy PolicyPlatform Version b744b47 (Tue, 08 Oct 2024 16:30:14 GMT)