UNIT9 presents VIVID. A WebVR experiment, where users make fireworks explode by matching three rockets of the same colour.
Vivid pushes the boundaries of WebVR
With Vivid, UNIT9 Digital has pushed the boundaries of WebVR. Using real time graphics built in WebGL, the team have created a stunning WebVR experiment. You simply need a smartphone and cardboard and you can begin a fireworks display in WebVR. Give it a try here on your smartphone.
# Clone the project. git clone https://github.com/unit9/vivid.git # Enter the project directory. cd vivid # Install npm dependencies. npm install # Initialize development server at localhost:8080. npm run dev
npm run dev
npm run build
public folder from
You can run any of these individually if you'd like with the npm run command:
prebuild- Cleans build folder and lints
clean- Cleans the build folder.
lint- Runs lint on
src/jsfolder and uses
.eslintrcfile in root as linting rules.
webpack-watch- Run Webpack in development environment with watch.
src/cssfolder and output to
src/publicand watch for changes.
dev:js- Run Webpack in development environment without watch.
build:dir- Copy files and folders from
src/cssand output compressed CSS to
build:js- Run Webpack in production environment.