Three.js for Ruby via Opal.
Add this line to your application's Gemfile:
gem 'three.rb'
And then execute:
$ bundle
Or install it yourself as:
$ gem install three.rb
Currently, there is only one working example of three.rb in action: the demo
directory that is inside the main directory.
It shows the Ruby version of the app from the "Creating a scene" tutorial on the three.js docs.
To run it, simply run:
$ rackup
in the demo
directory.
- Fork it ( https://github.com/[my-github-username]/three.rb/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request