# How to check if drawn shape is circle?

**URL:** <https://forum.kirupa.com/t/how-to-check-if-drawn-shape-is-circle/312889>\
**Category:** programming\
**Created:** [August 15, 2010, 9:58am UTC](https://forum.kirupa.com/t/how-to-check-if-drawn-shape-is-circle/312889 "2010-08-15T09:58:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![psych](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/psych/32/2839_2.png) [@psych](https://forum.kirupa.com/u/psych)\
**Post date:** [August 15, 2010, 9:58am UTC](https://forum.kirupa.com/t/how-to-check-if-drawn-shape-is-circle/312889/1 "2010-08-15T09:58:02Z")

</div>

Hi,

Let’s say i have a simple app where on mouse move user draws a shape. What i am trying to accomplish is to detect if drawn shape is circle so was wondering what would be the best or easier way to do that?

I believe i should do some math based on every drawn point coordinates but i need a push in right direction from more experienced people around here so any advice would be appreciated 🙂

Cheers
