News for hackers. Stuff that matters.
Re:Show HN: A virtual whiteboard for working or teaching rem... by byoung2 on Thursday August 21, 2014 @03:51PM (#8209214)
paper.js has a nice method to do this. I actually used it in a whiteboard app I made as a proof of concept. Rather than saving every X,Y coordinate, it uses a configurable number of points and handles and makes bezier curves. http://paperjs.org/examples/path-simplification/

There are no comments on this comment yet.