Загрузка видео...
Не удалось загрузить видео
Next level reflection?
650,611 просмотров • 3 лет назад •via X (Twitter)
Комментарии: 10

I'm pulling frames from the webcam through a warp kernel on the GPU, then desaturate, blend, opacity etc. No idea how the kernel stuff works, just stole it from @FlexMonkey's book

The OSX Jaguar raster lines are from a handy Core Image generator, most likely related to how those stripes were drawn back in the day. I extended SwiftUI's Color so I can do Color.white.striped(with: .gray) and fill any shape with it in one line

The candy cane progress indicator is a custom Shape drawing "\" shapes across the width + an additional one so I can move the offset, creating the illusion of an infinite sliding animation. Let's try red circles instead:

The Aqua button is a pile of gradients on top of each other. I forgot how those primary buttons glowed calmly. Also note how the light-emitting element at the bottom emits its color into the drop shadow

If anyone is interested I can clean up and add comments to the code and walk through the design on

Permission needed: This website wants access to your camera for: Button reflections [Deny access] [Grant access]

Close! I was thinking it could show reflections on everything

I hate it, great work 👏

Send help - there's someone trapped inside a button! Our worst nightmare come true...

Had the same thought

