# Finding drawing shapes

**URL:** https://forum.kirupa.com/t/finding-drawing-shapes/263928
**Category:** flash
**Created:** [June 20, 2008, 3:39pm UTC](https://forum.kirupa.com/t/finding-drawing-shapes/263928 "2008-06-20T15:39:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mabrick](https://avatars.discourse-cdn.com/v4/letter/m/8dc957/32.png) [@mabrick](https://forum.kirupa.com/u/mabrick)
#### Post date: [June 20, 2008, 3:39pm UTC](https://forum.kirupa.com/t/finding-drawing-shapes/263928/1 "2008-06-20T15:39:01Z")

</div>

I’m working on an application that can recognize aproximate shapes when you draw them  
So if i draw a circle, i’ll use mouseclick and mousemove events to obtain the coodonates of the mouse pointer and store them in a vector,but how do i process the information? i was thinking about matching the first coordonate with the last,because the circle is a closed figure,but then how do i separate it from a square or a triangle? i mean this is pure math,does anybody have some usefull links or any ideas?
