Using AnimeJS in Lens Studio

Has anyone used AnimeJS in Lens Studio before? I really like it for web projects, and it seems to be way more popular than the tweenjs lib that comes with LS. I tried dropping it into a project, but it threw an error when I tried running it.

I’m just wondering if anyone else has managed to get it working. Regardless, I might try making a fork of the repo and tweaking a few things to get it to work in LS.

I got it working! Mainly needed to add some custom polyfills to bridge the gap between the browser and lens studio js functions. I also removed a lot of the stuff that was specifically made for web html/css.
snap-anime-js.zip (2.7 MB)

2 Likes