Comprehensive template for spark-ar projects. Include your models, images and even use npm and webpack to build your scripts.
OK then. You'll find a nice folder structure for your project, already filled with the original Spark AR Assets! Just save your Spark Project inside "/spark-project/" and have fun!
-
npm installto install the depencies. Use npm to install other plugins. -
Do your magic in
/scripts/script.js. -
npm run devwill watch for changes and copy automagical to/spark-project/scripts/ -
npm run buildwill bundle your script, minimize it and paste it to/spark-project/scripts/