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: 27,326 of 183,021
Downloads: 44,979
Daily
Ranking: 11,452 of 183,007
Downloads: 61
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
12,122 | 165,522 | glimmer-dsl-libui |
Depends on
Rank | Downloads | Name |
---|---|---|
19 | 891,892,822 | minitest |
210 | 167,054,214 | rdoc |
298 | 118,611,642 | equalizer |
468 | 78,990,262 | matrix |
2,171 | 7,917,351 | minitest-focus |
10,837 | 205,831 | puts_debuggerer |
17,521 | 86,388 | juwelier |
45,653 | 22,708 | rake-tui |
Owners
# | Gravatar | Handle |
---|---|---|
1 | andy_maleh |