iwmlib/lib/stylus
2019-04-05 10:49:16 +02:00
..
index.html added stylus 2019-04-05 10:09:45 +02:00
main.js added stylus 2019-04-05 10:09:45 +02:00
README.txt added stylus 2019-04-05 10:09:45 +02:00
stylus.js fixed path in stylus.js 2019-04-05 10:49:16 +02:00
thumbnail.png added stylus 2019-04-05 10:09:45 +02:00


https://mattdesl.svbtle.com/drawing-lines-is-hard
http://perfectionkills.com/exploring-canvas-drawing-techniques/



https://github.com/mattdesl/polyline-normals

var path = [ [0, 122], [0, 190], [90, 190] ]

//get the normals as a closed loop
var normals = getNormals(path, true)