Skip to content

A Javascript implementation of my terrain generation algorithm with HTML interface

License

Notifications You must be signed in to change notification settings

JavierCenteno/TectonicTiles.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TectonicTiles.js

Copyright 2020 Javier Centeno Vega

This software is licensed under a GNU general public license.

About

Tectonic tiles is a random terrain generation algorithm inspired by plate tectonics.

You can see the algorithm working here.

The algorithm

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.

About

A Javascript implementation of my terrain generation algorithm with HTML interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published