Categories: None [Edit]
perfect-shape
Perfect Shape is a collection of pure Ruby geometric algorithms that are mostly useful for GUI 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 the Ray Casting Algorithm, aka Even-odd Rule, and the Winding Number Algorithm, aka Nonzero Rule). Additionally, it contains some purely mathematical algorithms like IEEEremainder (also known as IEEE-754 remainder).
Total
Ranking: 23,289 of 193,540
Downloads: 68,152
Daily
Ranking: 8,606 of 193,523
Downloads: 102
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 11,701 | 237,654 | glimmer-dsl-libui |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 14 | 1,231,578,776 | minitest |
| 164 | 311,499,967 | rdoc |
| 319 | 161,949,842 | matrix |
| 389 | 129,781,755 | equalizer |
| 2,137 | 12,382,284 | minitest-focus |
| 6,878 | 723,444 | puts_debuggerer |
| 14,218 | 159,636 | juwelier |
| 28,972 | 49,386 | rake-tui |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | andy_maleh |