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,529 of 191,254
Downloads: 64,358
Daily
Ranking: 18,279 of 191,174
Downloads: 18
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 11,612 | 226,390 | glimmer-dsl-libui |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 14 | 1,174,633,726 | minitest |
| 169 | 285,976,002 | rdoc |
| 321 | 149,157,658 | matrix |
| 372 | 128,100,021 | equalizer |
| 2,148 | 11,560,712 | minitest-focus |
| 7,043 | 652,357 | puts_debuggerer |
| 14,153 | 151,993 | juwelier |
| 28,994 | 47,684 | rake-tui |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | andy_maleh |