Skip to content

marvindanig/threejs-rails

Repository files navigation

Threejs::Rails

Threejs is an awesome 3D javascript library that makes it easy to play with WebGL, i.e. 3D objects, in the browser. Refer documentation.

This gem will add threejs r89 to your rails app via the asset-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

You're good to go with threejs on your rails app!

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 for Rails (5.0 +)

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •