Swift smooth line
https://github.com/FlexMonkey/SmoothScribble/blob/master/SmoothScribble/components/Scribblable.swift