Transform cartoons from the xkcd webcomic into colliding 3D blocks directly in the browser.
xkcdown is an interactive 3D visualization of popular webcomic xkcd with support for physics, collisions, camera movement, and smashing xkcd comics into stacks of other comics. View the live demo.
- Standard HTML5 / CSS / JavaScript implementation.
- Cross-browser with recent Chrome, Firefox, IE, Safari.
- HTML-driven via standard
<img>
tags and layouting. - Simulation runs are shareable (through permalinks).
- Simulation runs are seedable (through an optional seed).
- Simulations runs are repeatable (by repeating the seed).
- Simulations runs are (pseudo-) random; new comics with each page load.
- Multiple visualization/simulation types.
- Full mouse and keyboard controls.
- Clone or fork the sources.
- BYOI (Bring Your Own Images). Place images in the
src/img
folder and name them consecutively (1.png
,2.png
, etc.) for easy random selection. - Run
bower install
andnpm install
in the top-level project folder to install dependencies. - To build and serve a local copy of the demo run
grunt serve:debug
orgrunt serve:release
. You can also rungrunt build:debug
orgrunt build:release
to build without serving.
- Original comics by Randall Munroe (http://xkcd.com).
- "xkcdown" concept and code by James Devlin (https://deskchained.com).
MIT