Simplify.js is a high-performance JavaScript 2D/3D polyline simplification library by Vladimir Agafonkin, extracted from Leaflet.
Docs and demo: http://mourner.github.com/simplify-js/
Bytes is a JavaScript newsletter you'll actually enjoy reading.
Delivered every Monday, for free.