xkcd-style comixes
cmx.js - a library for authoringcmx.io for a live example.
Please visitNote: Source for this comix strip is in app/edit/sample.html.
Development
Most of the files were generated by Yeoman. Actual cmx.js sources are located in app/lib.
Dependencies
Initial setup
git clone git://github.com/darwin/cmx.js.git
cd cmx.js
npm install
bower install
Hacking
cd cmx.js
grunt server
=> yeoman will open browser with editor and sample.html (http://localhost:3501)
Deploy
- ruby+rake must be available
- cmx.io repository checkout is expected at same directory level as cmx.js
- ask for push rights to darwin/cmx.io or just keep forked version and let me pull your changes
Initial setup:
git clone git://github.com/darwin/cmx.io.git
cd cmx.io
git checkout gh-pages
cd ..
My workflow:
cd cmx.js
rake build
cd ../cmx.io
git commit -m "published a new version!"
git push -u origin gh-pages
=> http://cmx.io should reflect the changes in a few minutes
Acknowledgements
- Randall Munroe - xkcd.com
- Dan Foreman-Mackey - xkcd plot drawing
- Jeremy Ashkenas - coffescript, underscore.js
- Mike Bostock - d3.js
- Michael Ciuffo - humor-sans.ttf font
- Cloud9 guys - Ace Editor
- and many others making the web awesome