skorasaurus / sc3n3

I'm learning and dabbling with Mapzen's tangram and understanding its potential. I hope these help you to learn. (MOSTLY) DEPRECATED

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

These are scenes, .yaml files used to create maps in Mapzen's Tangram.

I'm using these files to learn Tangram and GLSL.

I've structured the code in most (but not all of the) files so that they should work (and display a map) if you copy and paste the code into https://mapzen.com/tangram/play

Most of the code in here is not written from scratch by me rather I've just adapted code written by Patricio González Vivo of Mapzen, who deserves credit.

Some of these scenes will also include workable examples of shader code that you can insert into a scene with less fuss (hopefully).

Below are descriptions and direct links to them in Tangram Play as well so you can view and edit them.

Descriptions:

diagonal_dash: viewable example - Applies a diagonal dash pattern to your polygon style; different than the polygon strips which are continuous. Mentioned as the 'polygons-diagonal-dash' block and its block reference

line-dash-example: viewable example Use dashes for your lines. The block reference

lines-chevron-example: viewable example - Chevron Lines

lines-outline: viewable example - Outlines to lines; used as road casings.

polygon-stripes: viewable example - stripes/hatchure s in polygons; see the waterway and the as two different examples. Also see coastline-stripes.yaml done by Geraldine Sarmiento for a similar example.

skim-city: a reimagination of the Sim City 2000 aesthetic (from the 1994 ish release). Designed to be viewed mostly at z15+ zoom level (since that's you'd usually play SC2000 at anyways). Really early stages; viewable example

(need to finish describing the rest of the files)

PS - global.yaml is filed referenced in several of my scenes, used to properly layer features. available at https://tangrams.github.io/blocks/global.yaml

About

I'm learning and dabbling with Mapzen's tangram and understanding its potential. I hope these help you to learn. (MOSTLY) DEPRECATED


Languages

Language:JavaScript 71.4%Language:HTML 28.6%