/Three-Ar-Boilerplate

A boilerplate for Bootstrapping AR experiences with Three.ar.js

Primary LanguageJavaScript

Three.ar.js Webpack ES6 boilerplate

A boilerplate for Bootstrapping AR experiences with Three.ar.js

Project Structure

  • src - Directory for all Dev Files
  • src/Managers - Directory to store Managers and Controllers
  • src/Manager/Renderer - class that sets up the renderer, VrDisplay and calls the update loop
  • src/Entities - Directory to store the code for the entities that get intialized into the scene
  • src/Main.js - The main js file that gets served by the webpack server
  • src/Utils - Utilities and other helpers for the project

Getting Started

install dependencies

npm install

then run dev script

npm run start