/spark-ar-impostor

😁🗡️ AR-Filter to turn you into an impostor from the game Among Us.

Primary LanguageJavaScriptMIT LicenseMIT

Spark AR Among Us Face Filter

Instagram Filter to turn you into an impostor from the game Among Us.

IT'S LIVE! https://www.instagram.com/ar/1233958103653576/

It's actually quite complex. It features:

  • Bone based "neck"-bending
  • Randomized "You are Crewmate/Impostor" mini game
  • Switching Material color on tap of the body
  • tricky handling of transparency, so your actual face glimmers trough the helmet. And custom background stuff

Handy Links

Spark AR Docs

Quickstart

I don't need to script

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!

I actually want to script

  1. npm install to install the depencies. Use npm to install other plugins.

  2. Do your magic in /scripts/script.js.

  3. npm run dev will watch for changes and copy automagical to /spark-project/scripts/

  4. npm run build will bundle your script, minimize it and paste it to /spark-project/scripts/