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: 24,461 of 187,548
          Downloads: 58,358
        Daily
Ranking: 19,660 of 187,532
          Downloads: 29
        Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name | 
|---|---|---|
| 11,829 | 204,073 | glimmer-dsl-libui | 
Depends on
| Rank | Downloads | Name | 
|---|---|---|
| 15 | 1,088,565,104 | minitest | 
| 183 | 247,752,095 | rdoc | 
| 334 | 129,920,019 | matrix | 
| 350 | 125,104,713 | equalizer | 
| 2,157 | 10,356,836 | minitest-focus | 
| 7,624 | 527,037 | puts_debuggerer | 
| 14,094 | 144,180 | juwelier | 
| 29,872 | 43,815 | rake-tui | 
Owners
| # | Gravatar | Handle | 
|---|---|---|
| 1 | andy_maleh | 
 xmisao
xmisao