Skip to content

raza/threejs-rails

 
 

Repository files navigation

Threejs::Rails

Threejs is an awesome lightweight JavaScript 3D library that makes WebGL - 3D in the browser - very easy(documentation).

This gem makes it easy to use Threejs (REVISION 70) with Rails 4+ assets pipeline.

Installation

Add this line to your application's Gemfile:

gem 'threejs-rails', git: 'git://github.com/marvindanig/threejs-rails.git'

And then execute:

$ bundle

Or install it yourself as:

$ gem install threejs-rails

Usage

Add the following to your app/assets/javascripts/application.js:

//= require three

That's it. You're good to go with threejs on your rails app!

Versions

TODO: Semantic versioning

Contributing

  1. Fork it ( https://github.com/marvindanig/threejs-rails/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request
  6. Contact me if I don't respond within 24 hours.

About

Three.js (Revision 70) for Rails 4+

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 61.5%
  • Shell 38.5%