This is meant to be a boilerplate for new users or non-scripters to start using Spark AR's NativeUI Slider fur their Instagram effects. The basic version takes into account the changes to Spark AR v85+ API and uses Promises to load assets. It is not meant to be a comprehensive exploration into ES6, Spark AR, or writing performant code. This is meant to educate and - hopefully - inspire others to continue learning about how to leverage scripting in their effects.
NativeUI-Slider-[Basic] -v85
This project has the basic setup for the NativeUI Slider and is entirely script. When you adjust the slider a plane will scale up and down.
NativeUI-Slider-[Patch Editor] -v85
This project has the basic setup for the NativeUI Slider and connects the output value to the Patch Editor. When you adjust the slider a plane will scale up and down.
NativeUI-Slider-[Initial Value] -v85
This project has the basic setup for the NativeUI Slider with an initial value of 50% and connects the output value to the Patch Editor. When you adjust the slider a plane will scale up and down.
Follow me on IG @lukehurd
Join the Spark AR Community