Imagine hearing 50,000 people chant "WOMAN, LIFE, FREEDOM" after each Iranian goalkeeper save during World Cup 2022. The purpose of this lens is to help be the voice of the Iranian people.
Allows the crowd to chant Woman, Life, Freedom after the iranian goaltender makes a save.
How we built it
This project was built using the TeamCelebrate sample project as a base and the TeamCelebrateController was configured to add iranian colors to the user. Then, a free soccerball artifact was added to the project and animated to spin. The code to spin the ball was taken from tutorials on the snapchat documentaiton. Then using the head binding the ball was "kicked" at the head and using the tracking the actor/person using the lens will always make the save. There was also the Background Segmentation / Greenscreen effect added by watching youtube tutorials on background effects. The javascript code to control the ball headed towards the user was custom written.
Challenges we ran into
Learning a new Object Library
Learning about materials, textures etc. for the first time. A lot of information to take in.
Accomplishments that we're proud of
Soccerball animation.
Simple to use.
What we learned
Learned Lens Studio application.
Read a lot of documentation on Lens Studio and looked at many example projects. Read about the physics engine, how to call API's etc. even though they weren't used in this project. Learned how easy it is to add face tracking and do green screen.
What's next for Women Life Freedom
Support Multiple Languages
Add Different Ball Bounce Directions after the goalie makes a save.
Add the Woman, Life, Freedom sound chant and crowd noise.
Log in or sign up for Devpost to join the conversation.