RubyGems Navigation menu

perfect-shape 1.0.8

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).

Gemfile:
=

instalar:
=

Versões:

  1. 1.0.8 May 27, 2023 (44,5 KB)
  2. 1.0.7 November 19, 2022 (44,5 KB)
  3. 1.0.6 November 05, 2022 (44 KB)
  4. 1.0.5 June 03, 2022 (44 KB)
  5. 1.0.4 May 15, 2022 (44 KB)
Mostrar todas as versões (37)

Runtime Dependencies (2):

equalizer >= 0.0.11, < 1.1.0
matrix >= 0.4.2, < 1.1.0

Development Dependencies (6):

juwelier ~> 2.1.0
minitest ~> 5.14.4
minitest-focus ~> 1.3.1
puts_debuggerer ~> 0.13.1
rake-tui > 0
rdoc ~> 3.12

Donos:

Pushed by:

Autores:

  • Andy Maleh

SHA 256 checksum:

=

Total de downloads 45.319

Desta versão 5.566

Versão lançada:

Licença:

MIT

Versão Requerida do Ruby: >= 0

Links: