( Hatsune Miku / Crypton Future Media inc. / CC BY-NC ) mmd.js is a project to work MMD in a web browser with client-side JavaScript.
http://r7kamura.github.com/mmd.js/
http://r7kamura.github.com/mmd.js/docs/
$ gem install bundler
$ bundle install
$ npm install -g coffee-script
$ npm install -g docco
$ bundle exec rake -T
rake all # Launch server and keep auto-compile in multi-thread
rake compile # Compile coffee to js and documents
rake server # Launch server on localhost (Port is ENV['PORT'] or 8080)
# compile
$ bundle exec rake compile
# server
$ bundle exec rake server
# all
$ bundle exec rake all
mmd.js
|-- coffee : main program code written in coffeescript
|-- data : example model data for development use
|-- docs : documents generated by docco
|-- js : compiled javascript files
|-- Gemfile : list of gems we use for development
|-- Rakefile : list of tasks invoked from rake command
|-- index.html : example html file to render model data
`-- watchr.rb : a file invoked from watchr command for automation