Freehand Drawing is the source code reference for the corresponding blog post on my website -coming soon-