mmd.js

A project to work MMD in a web browser with client-side JavaScript.

Stars
35
Committers
1

mmd.js

( 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.

Demo

http://r7kamura.github.com/mmd.js/

Development

Documents

http://r7kamura.github.com/mmd.js/docs/

Install

$ gem install bundler
$ bundle install
$ npm install -g coffee-script
$ npm install -g docco

Utility

$ 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

Files

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

Dependencies