Here’s the original algorithm of the curve fitting:

Sorry that I don’t have time to explain about this algorithm at the moment but I WILL in the near future 🙂 so please just enjoy the sample I made below:

Source code here in LUA for Corona SDK

References:

P.J. Schneider, “An algorithm for automatically fitting digitized curves”, in Graphic Gem[1] download

### Like this:

Like Loading...

## Published by Quang Le

I am a 10+ year exp programmer, a data analyst. My favorites are math, computer science, and football.
View all posts by Quang Le

Thank you mister Quang Le!!