So excited to share one of my white-whale projects: a fully physics-based, holographic foil shader.

Each pixel simulates a ray of light diffracting into a rainbow of waves, which add and subtract to create these incredible patterns.

Not a single gradient was used here!

@janum That looks really good!

How does it work when the phone is held flat? When I was building LookingGlassUI I eventually had to deal with quaternions instead of x/y/z rotations to ensure things didn't get jumpy due to gimbal lock.

https://github.com/ryanlintott/LookingGlassUI

GitHub - ryanlintott/LookingGlassUI: Shimmering SwiftUI Views using device orientation.

Shimmering SwiftUI Views using device orientation. - ryanlintott/LookingGlassUI

GitHub
@ryanlintott @janum oh cool, I have to try LookingGlassUI to display foil cards in my Magic Collection Manager app
@janum Looks so awesome! Do you plan to open source it? :)
@janum hot! I still need to write one of those
@janum This is beautiful. Is this Open Source, or can you share any resources on this?