# Tessellation: Creates a tessellation from a starting set of geometric... In LearnGeom: Learning Plane Geometry

## Description

`Tessellation` creates a geometric pattern by the repetitive translation of an initial geometric object

## Usage

 `1` ```Tessellation(objects_list, colors, direction, separation, it) ```

## Arguments

 `objects_list` A list composed by several geometric objects (mainly polygons created with `CreatePolygon` or `CreateRegularPolygon`) `colors` Vector containing the colors for each of the objects of the initial geometric object `direction` Vector containing the xy-coordinates of the direction in which tessellation is being generated `separation` Number indicating the distance that separates any of the geometric objects in the repetitive pattern. This distance must be understood in the sense of a translation of the initial object. Indeed, this distance is only preserved in the direction of the chosen vector `direction` when generating the pattern. Moreover, the choice of `separation = 0` implies no pattern is generated `it` Number of iterations to be performed for the construction of the tessellation

## Value

None. It produces the plot of a repetitive pattern, usually known as a tessellation

## References

http://mathworld.wolfram.com/Tessellation.html

## Examples

 ``` 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19``` ```x_min <- -6 x_max <- 6 y_min <- -2 y_max <- 10 CoordinatePlane(x_min, x_max, y_min, y_max) Hexa <- CreateRegularPolygon(6, c(-3,0), 1) Draw(Hexa, "purple") Tri <- CreatePolygon(c(-3,-1), c(Hexa[4,1],-2), c(Hexa[1,1],-2)) Draw(Tri,"pink") objects_list <- list(Tri, Hexa) cols <- c("pink", "purple") direction <- c(1,0) separation <- 1.732051 it <- 3 Tessellation(objects_list, cols, direction, separation, it) direction <- c(0,1) separation <- 3 it <- 4 Tessellation(objects_list, cols, direction, separation, it) ```

LearnGeom documentation built on July 14, 2020, 5:06 p.m.