Popularity
0.5
Growing
Activity
9.2
Declining
8
1
0

Description

PerfectShape is a collection of pure Ruby geometric algorithms that are mostly useful for GUI (Graphical User Interface) manipulation like checking viewport rectangle intersection or containment of a mouse click point in popular geometry shapes such as rectangle, square, arc (open, chord, and pie), ellipse, circle, polygon, and paths containing lines, quadratic bézier curves, and cubic bezier curves, potentially with affine transforms applied like translation, scale, rotation, shear/skew, and inversion (including both Ray Casting Algorithm, aka Even-odd Rule, and Winding Number Algorithm, aka Nonzero Rule).

Additionally, PerfectShape::Math contains some purely mathematical algorithms, like IEEE 754-1985 Remainder.

Programming language: Ruby
License: MIT License
Tags: Database Tools     Ruby     Algorithms     Geometry    

Perfect Shape alternatives and similar gems

Based on the "Database Tools" category.
Alternatively, view perfect-shape alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Perfect Shape or a related project?

Add another 'Database Tools' Gem