$p Recognizer written in swift 3
$P Point-Cloud Recognizer fast gesture recognition algorithm by Radu-Daniel Vatavu, Lisa Anthony, Jacob O. Wobbrock written in swift 3.
You can find their paper here: http://depts.washington.edu/madlab/proj/dollar/pdollar.html
Please excuse any n00bish code as I am an enthusiastic amateur - any advice on how to improve my code would be apreciated.
Also thanks to fe9lix for the multistroke code