Geometry Painter is a web-based tool for drawing and exporting simple geometric shapes.
- Draw polygonal shapes by clicking to place vertices
- Auto-labeling of points and sides using alphabetic identifiers
- Interactive canvas powered by Konva.js
- Export to JSON format with structured shape data
- Clone or download this repository.
- Start a simple web server on your machine.
- Access the web server using any modern web browser.
git clone https://github.com/AdarWa/GeometryPainter
cd GeometryPainter
python3 -m http.server
# Open http://localhost:8000 in any modern web browser-
Click the "Draw" button to enter drawing mode.
-
Click anywhere on the canvas to place vertices.
-
Vertices will be connected to form a polygon.
-
Click "Download" to export the geometry as a
.jsonfile.
This project is licensed under the MIT License. See LICENSE for more details.
