tiny-sdf
v1.0.2
Published
Browser-side SDF font generator
Downloads
7,365
Maintainers
Readme
TinySDF
TinySDF is a tiny and fast JavaScript library for generating SDF (signed distance field) from system fonts on the browser using Canvas 2D and Felzenszwalb/Huttenlocher distance transform. This is very useful for rendering text with WebGL.
Demo: http://mapbox.github.io/tiny-sdf/