Copyright 2020 Javier Centeno Vega
This software is licensed under a GNU general public license.
Tectonic tiles is a random terrain generation algorithm inspired by plate tectonics.
You can see the algorithm working here.
The algorithm works by creating a lattice of tiles, which is tessellated into tectonic plates. Each tectonic plate is assigned a movement defined by a starting tile and an ending tile.
This movement is applied to the terrain through a crease function, which given a starting tile, an ending tile and an influenced tile returns the influence on the influenced tile from the movement of the crust from the starting tile to the ending tile.
For the movement of all tectonic plates, the influence is calculated and added to all tiles.