https://github.com/pier-bezuhoff/polygon-area
Online polygon area calculator
https://github.com/pier-bezuhoff/polygon-area
area calculator geometry math polygon svelte
Last synced: over 1 year ago
JSON representation
Online polygon area calculator
- Host: GitHub
- URL: https://github.com/pier-bezuhoff/polygon-area
- Owner: pier-bezuhoff
- License: gpl-3.0
- Created: 2024-12-24T14:09:22.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-05T09:36:29.000Z (over 1 year ago)
- Last Synced: 2025-01-09T17:56:24.884Z (over 1 year ago)
- Topics: area, calculator, geometry, math, polygon, svelte
- Language: Svelte
- Homepage: https://pier-bezuhoff.github.io/polygon-area
- Size: 370 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Polygon Area Calculator
Simple calculator for area of arbitrary polygons, given their side lengths and minimal neccessary number of angles.
The site: [pier-bezuhoff.github.io/polygon-area](https://pier-bezuhoff.github.io/polygon-area/)
## Features
- Arbitrary N-polygons with arbitrary side lengths
- Minimum required parameteres (sides + angles)
- All non-specified angles are also calculated
- Visualized
- Regular polygons
- Light/dark mode
- Responsive design for mobile
- Last used parameters are persisted in `localStorage`
## NB
Triangle requires 0 additional angles, quadrilateral — 1, pentagon — 2, hexagon — 3, etc.
Out of 2 possible configurations of vertices chosen one without self-crossing edges and preferably convex.
When no valid polygon is possible given inputted parameters, it will appear open and no area is returned.