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: 21,993 of 199,228
Downloads: 79,238
Daily
Ranking: 14,914 of 199,184
Downloads: 71
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 11,465 | 270,451 | glimmer-dsl-libui |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 14 | 1,358,956,518 | minitest |
| 142 | 384,735,258 | rdoc |
| 294 | 193,847,709 | matrix |
| 424 | 133,124,090 | equalizer |
| 2,148 | 13,594,507 | minitest-focus |
| 6,881 | 833,561 | puts_debuggerer |
| 14,312 | 171,441 | juwelier |
| 27,859 | 55,454 | rake-tui |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | andy_maleh |