Procedural Textures

by Patricio Gonzalez Vivo at Mapzen

The Tangrams teams (web and native) are excited about the possibilities of using the OpenGL Shading Language to render maps. As Brett and Peter describe in this article, we use them for everything from geometry extrusion to lighting effects. That’s what makes Tangram’s map engine fast, powerful and highly flexible.

Another use of GLSL Shaders is for generating procedural textures in real time. This allows mappers to make interesting patterns programmatically and apply them to different geometries using custom rules.

This repository and on-line gallery show a small collection of examples to inspire mapmakers to use, code and share generative textures for maps.

Shapes

Tile Patterns

Pattern Designs

Animations

			         
			    

How to install this gallery on your local machine?

git clone https://github.com/tangrams/ProceduralTextures
cd ProceduralTextures
python -m SimpleHTTPServer 8000

Note: in case you have Python 3.x as your default version you should use python -m http.server 8000 instead.