Profile cover photo
Profile photo
Mike Kelley
96 followers
96 followers
About
Mike's posts

Post has shared content
Better blur transitions

When first working on #Muzei, one of the things I thought about was how to make the blur transition (the animation between focused and blurred states) as natural as possible.

The naïve and computationally cheap approach would be to simply crossfade the blurred and focused versions. But the digital displays in NYC that inspired the effect in the first place [1] did a much better job, animating the blur radius over time, just like what happens in the real world (i.e. the effect you see when a camera's depth of field changes).

Unfortunately, to achieve this effect in a UI, you'd need to blur the image on-the-fly, with a different radius for each animation frame. That's pretty computationally expensive.

However, if you create a handful of blurred 'keyframes' with different radii and crossfade between those keyframes during the animation, the transition is almost seamless—after testing this technique out for Muzei, it felt like the perfect tradeoff between visual integrity and resource usage.

Finally, you can gracefully degrade the effect for weaker devices by varying the number of keyframes on device RAM, processing power, etc. In Muzei, I use the ActivityManager.isLowRamDevice method to decide the number of keyframes to keep in memory.

Check out some more details on this tip in the attached photos!

#AndroidDev #AndroidDesign

[1] https://medium.com/p/3a1721a6f716
Photo
Animated Photo
Blur Transitions
2 Photos - View album

Post has shared content
The Power of a single RAW file

Here's the before-and-after of creating an HDR out of a single RAW file.  I used the Sony A7r just to expose for the guard of the mausoleum, and was hoping I could pull out a few details from the darkness...  boy did it ever.  These Sony RAW files are thick as thieves! 

The final shot is a combination of a single-file HDR and pulling up the shadows and blacks from that same file in Lightroom.  
Photo

Post has shared content
Great stuff from +Brian Lee

Post has attachment
Google, it was cute in December, but it's not funny anymore!
Animated Photo

Post has attachment
Finish him!

+Jonathan Shalvi 
Animated Photo

Post has attachment
Frigid.
Photo

Post has attachment
The lake steaming, it's so cold in #Chicago
Animated Photo

Post has attachment

Post has shared content
Our people have shared their preference. The winning design for our livery is to retain the flag tailfin. Together American & US Airways will continue painting our fleet in this livery.
Photo

Post has attachment
Busy day at MoMA!
Animated Photo
Wait while more posts are being loaded