Perfect Shape is a collection of pure Ruby geometric algorithms that are mostly useful for GUI manipulation like checking containment of a mouse click point in popular geometry shapes such as rectangle, square, arc (open, chord, and pie), ellipse, circle, polygon (Ray Casting Algorithm aka Even-Odd Rule), polyline, polyquad, polycubic, and paths containing lines, bezier curves, and quadratic curves. Additionally, it contains some purely mathematical algorithms like IEEEremainder (also known as IEEE-754 remainder).
Required Ruby Version
>= 0
Authors
Andy Maleh
Versions
- 1.0.8 May 27, 2023 (44.5 KB)
- 1.0.7 November 19, 2022 (44.5 KB)
- 1.0.6 November 05, 2022 (44 KB)
- 1.0.5 June 03, 2022 (44 KB)
- 1.0.4 May 15, 2022 (44 KB)
- 0.0.10 December 20, 2021 (17 KB)