A Three.js project that generates 3D dioramas procedurally using contextual information. You can visit the latest interactive release on the Github Pages site here.
It is built on @marcofugaro's threejs-modern-app framework.
Note: This project has only been tested on Windows 10 and none of the scripts are set up to be cross-platform yet.
Once you have installed the dependencies by running yarn, these are the available commands:
yarn startstarts a server locally and launches the browser - any changes will be hot-reloaded, for rapid iterationyarn buildbuilds the project for production, ready to be deployed from thebuild/folderyarn deploybuilds and pushes the contents of build folder to agh-pagesbranch on this repository
All the build tools logic is in the package.json and webpack.config.js.
Read the full threejs-modern-app documentation for a more in-depth guide.
- The environment reflection map is a free CC0 HDRI image from hdrihaven.com