This project generates a three.js library for use with modulite.js. Have a look at the generated sample.
Simply clone three.js and run auto-modulite.js.
# Clone Three.js
> git clone https://github.com/mrdoob/three.js.git
# Create a build directory
> mkdir build
> cp three.js/src/* build/
# Get the auto-modulite.js script file
> wget https://raw.github.com/zfedoran/modulite-threejs/master/auto-modulite.js
# Run the script on the build directory
> node auto-modulite.js build/
The following minecraft demo was generated using the auto-modulite.js build script. Have a look at the js and html files. The original minecraft sample can be found on the three.js repository.