Ruby bindings for libnova, a general purpose, double precision, Celestial Mechanics, Astrometry and Astrodynamics library.
Add this line to your application's Gemfile:
gem 'shinsei'
And then execute:
$ bundle
Or install it yourself as:
$ gem install shinsei
- libnova (v0.15, libtool 2.4.2)
latitude, longitude = '53.59209', '9.95328'
site = Shinsei latitude, longitude
site.moon_set Date.new(2012, 7, 11) # => '2012-07-12 13:39:55 UTC'
site.moon_rise Date.new(2012, 7, 11) # => '2012-07-11 22:25:57 UTC'
...
- write specs
- define more structs
- attach more functions
- documentation
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Added some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
- libnova contributors
- all the people working on Ruby and FFI
- fork