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… Continue reading Corona SDK – Curve fitting 2 – Implementation of P.J. Schneider using cubic Beizer curves