I'd like to learn a good algorithm to generate a 2d mesh made out only of triangles to be used as a terrain.
Its not important to get a high detail terrain. It should just have a triangle looking style.
Also the mesh should be extendable endlessly in all directions because the map will be endless. I thought about to having chunks of meshes saved in a file so they can be loaded during the execution.
Something like this (from Chasing Aurora):