RubyGems.org

Sangaku Eyeball uses Gosu, a 2D Game Library, to display lines, polygons and so on as defined by the Sangaku gem. It allows you to draw arbitrary polygons and then locate the Pole of Inaccessibility (usually the best place to display a label) using a fast, iterative algorithm.

installgem install sangaku-eyeball
Authors

Jason Hutchens

1,051 total downloads 545 for this version
Owners

C1ec462226a6a21222e201967e6175da

Licenses

MIT

Gemfile
gem 'sangaku-eyeball', '~> 0.2.0'
Versions
  1. 0.2.0 March 15, 2013 (15.5 KB)
  2. 0.1.0 March 15, 2013 (15.5 KB)
Runtime Dependencies
  1. gosu >= 0
  2. sangaku >= 0.5.4
Development Dependencies
  1. awesome_print >= 0