Code by Adam Bostock.
A tessellation of a flat surface is the tiling of a plane using one or more geometric shapes, called tiles, with no overlaps and no gaps. In mathematics, tessellations can be generalized to higher dimensions and a variety of geometries.
There are many types of tessellations, from the basic grid you see on graph paper to complex patterns using a variety of shapes. Some tessellations use a single complex figure, such as the bird image to the right.
The pattern above is a Voronoi Tessellation, which doesn't use predetermined shapes but rather is generated using a set of simple rules. If you reload this page you will see that the shapes themselves change, and if you do that multiple times you will never get the same pattern twice.