For my iphone game program, I need to take what the user draws and see what it is. For example, I need to see if it is a square, circle, star, or triangle. Are there tools available for something like this? I don’t really know where to start…
Share
You might try the $1 recognizer if you only need single-stroke shapes. GLGestureRecognizer is an Objective-C implementation, though I haven’t tried it out.
If you need multiple strokes, try the $N variant, which also has an iOS implementation. I’ve used $N in a Flex project before and had pretty good results.