# jQuery Irregular Polygon Area Calculator Online Visual Tool

*************A Mockup or Demo will help us accept your bids faster******************

I need online visual calculator for Irregular Polygon Area like [url removed, login to view] but in Javascript jQuery not in Flash.

The user must be able to visually draw any number of sides and the js code should be able to calculate the area drawn when the user

closes the polygon draw. The user also must be able to edit the shape by moving the sides and changing the sides length and adding points to any side.

The code must by working in all browsers.

The math for calculating the irregular Polygon area is easy, here is a function to do this as an example:

===================================================================

Algorithm to find the area of a polygon

If you know the coordinates of the vertices of a polygon, this algorithm can be used to find the area.

Parameters

X, Y Arrays of the x and y coordinates of the vertices, traced in a clockwise direction, starting

at any vertex. If you trace them counterclockwise, the result will be correct but have a negative sign.

numPoints The number of vertices

Returns the area of the polygon

The algorithm, in JavaScript:

function polygonArea(X, Y, numPoints)

{

area = 0; // Accumulates area in the loop

j = numPoints-1; // The last vertex is the 'previous' one to the first

for (i=0; i<numPoints; i++)

{ area = area + (X[j]+X[i]) * (Y[j]-Y[i]);

j = i; //j is previous vertex to i

}

return area/2;

}

===================================================================

The math for that here [url removed, login to view]

JS example here: [url removed, login to view]

Skills: Javascript, jQuery / Prototype

( 17 reviews ) Maadi, Egypt

Project ID: #2631106

## Awarded to:

oldhendra

Hi Softawy, I would like try build this with HTML5. However, you should know that a few browsers (such as Internet Explorer version 8 or lower) don't support this technology. Regards, Hendra.

\$95 USD in 5 days
(17 Reviews)
4.8

## 5 freelancers are bidding on average \$159 for this job

Toporchillo

Can do that using canvas and jsDraw2D.

\$150 USD in 2 days
(3 Reviews)
3.1
frrrni

I recommend using HTML5 canvas to do this. I have experience with it. Also, I'm very good at math and I love geometry. I'm quite interested in your project. Notice I have passed a JavaScript test with %90 score and More

\$200 USD in 25 days
(4 Reviews)
2.9
boussouira

Ready to start working :)

\$100 USD in 6 days
(1 Review)
1.8
petrasoftware

Petra is a developer group experienced 5-years in web development, desktop programming and database design and programming. We have excellent expertise in web Development languages and tools (PHP, JOOMLA, DRUPAL, Mag More

\$95 USD in 5 days
(3 Reviews)
1.2
AX7A2z4Yl

Custom software development: w w w . The Administrator removed this message for containing contact details which breaches our Terms of Service . i o

\$250 USD in 1 day
(0 Reviews)
0.0