Create an object in Unity or any other environment of your choosing and color it using shaders in a way that “makes sense”
I created a series of AR flags using shaders which can be mapped onto people's faces. Logarithmic function is used in the code that generates these shaders, affecting the resulting graphics one way or another. By “painting” logarithmic flags on people’s faces, this project is a celebration of logarithm – the ingenious inverse function to exponentiation!
I used an online shader editor to make shaders: https://shawnlawson.github.io/The_Force/
I started with randomly changing parameters and adding trigonometric and inverse trigonometric functions to the sample code provided by our lecturer Char. Here’s what I got:
Then, I thought of using logarithm somewhere in the code, which led me to some interesting visuals that look like flags:
Even though each of them looked super abstract and distinct, one can still tell their correlation with logarithm. Thus, I decided to turn this project into a celebration of logarithmic functions, by making even more of these flag shaders:
Because it is quite common for people to wear paint of flags they feel proud of on their face, I used Lens Studio to turn these shaders into AR face flags.
Team Logarithm!
Every user is proudly wearing their own logarithmic flag on their face (this snapchat filter supports up to 4 people in one frame).