I’m wanting to calculate the area of a shape students create on a virtual geoboard given a set number of “rubber bands”-- segments. I’ve been noodling around with trying to figure out how to implement Pic’s formula or the Shoelace formula.
In terms of the Shoelace formula I am stuck on order the points as clockwise. I have the location as a function of the angle from the origin to the point (polar), but can’t figure out how to sort the list. Haven’t gotten further than that.
Ideas?
Resources I have found so far:
I took an old shoelace graph I had that didn’t worry about point order, and added some sorting based on angle to the centroid. Watching the polygon update feels weird, but it should always prevent cross-over.
That’s cool! I love how it switches around to keep it a polygon!
I need to pull it into the geoboard graph now. The way the graph is built right now is that the kids have “bands” they can use to construct the polygon-- I’m thinking that is just going to be too complicated and it is better to do it the way you have it where they can modify a polygon to fit the situation.