What it does
Draw a shape then guess the area.
How we built it
- Python
- Pygame
- Maths
Implementation details
- Shoelace formula to calculate area of shape (https://en.wikipedia.org/wiki/Shoelace_formula#Shoelace_formula)
- Intersection of two line segments (https://en.wikipedia.org/wiki/Line%E2%80%93line_intersection#Given_two_points_on_each_line_segment)
Log in or sign up for Devpost to join the conversation.