Truchet tiles
13
min
Free preview
Two quarter-circles and a coin flip.
( The code )
The line that does the work.
sketch.js
if (random() > .5) flip(tile)
Open the Lab from the player and change the numbers in this line first.

( What it draws ) One render of this module’s sketch.
( Lesson notes )

This lesson is part of
Patterns
A seamless repeat for print
In this lesson
Two quarter-circles and a coin flip. We build it live in about 13 minutes, then you change it in the Lab until it is yours.
Try this after
Change one number at a time and write down what it did. Most of the good surprises in this course come from the third or fourth change, not the first.
( In this module )
Keep going.
← Previous lesson
Repeat, offset, rotate
Next lesson →