Adonit/Adonit-iOS-SDK

How do I improve curves on signing application

Closed this issue · 1 comments

I've implemented the sample SDK application for an app which stores user's signature.
However, when the signature is done at normal speed, I get very linear curves, this solves a bit if the signature is done at slow speed, is there any way to fix it?

Normal speed (linear curves):
screenshot 2013 05 23 12 35 41
screenshot 2013 05 23 12 36 02

Slow Speed (good curves):
screenshot 2013 05 23 12 35 01
screenshot 2013 05 23 12 36 28

Sorry for the delayed response on this.

The demo app doesn't have a very robust drawing/line engine built into it as it's main purpose is to demonstrate how the manager and delegates can be wired up. I would recommend that you take a look at our Digital Ink project as it has a better sketching/drawing toolset built in.

Otherwise you'll probably want to look into how to implement a quadratic bezier curve to draw smoother lines within an app. tuts+ has a great tutorial on this technique: Part 1 and Part 2