Live data from Hacker News

Making Apple Progressive Blur on the Web

devslovecoffee.com

21–30 of 58 posts

Re: Making Apple Progressive Blur on the Web

#21
> aka for the rest of the world not using swiftUI

Fun fact: Apple doesn't let us use CAFilter in SwiftUI. It's a "them" privilege, and if we want it we need to do it ourselves*, just like you

* or obfuscate the code and continue in the great game of cat and mouse: https://github.com/aheze/VariableBlurView/blob/main/Sources/...

Re: Making Apple Progressive Blur on the Web

#24
post #22

The solution of the author have a big flaw: it render at 5 fps on mobile.

Would this be a practical approach if one needs/wants real-time blur effects? I thought this was primarily for making my website’s static menu background look like it’s behind Vaseline.

Re: Making Apple Progressive Blur on the Web

#26
post #14

Earlier quoted context omitted.

Silky smooth on both a two year old Snapdragon 8 Gen 1 (Xiaomi 12) using both Chrome and Firefox and on a iPhone Pro Max 15 using Safari. Might be some other problem with your phone?

It seems the issue is specific to Firefox for me, if I switch over to Chrome it's perfectly smooth. Strange that Firefox works fine for you on a slightly older version of the same platform.

Actually realized I was using Firefox Focus on that Snapdragon 8 Gen 1. Just downloaded Firefox to try it and it's also the same as Firefox Focus...no issue. Could it be an extension? Fwiw, I don't have any extensions installed on any of the browsers.

Re: Making Apple Progressive Blur on the Web

#27

> aka for the rest of the world not using swiftUI Fun fact: Apple doesn't let us use CAFilter in SwiftUI. It's a "them" privilege, and if we want it we need to do it ourselves*, just like you * or obfuscate the code and continue in the great game of cat and mouse: https://github.com/aheze/VariableBlurView/blob/main/Sources/...

Wow, didn’t even know that. Guess I’ll update the post with this “fun” fact

Re: Making Apple Progressive Blur on the Web

#28
post #9

Something that’s wrong about this blur is that it’s expanding everything that’s content on the page outwards, but not expanding things inwards from outside the fold as well. This gives the illusion that there’s a fisheye or barrel distortion at the edge. You can see this most strongly when the images get to the top edge. The edges of the image curve outwards. Apples blur doesn’t do that. It seems to expand the conten…

those sound like great enhancements and something to explore in part 2, thanks for the inspo

Re: Making Apple Progressive Blur on the Web

#30
post #3

> Throughout the years, apple consistently delivers great design. They seem to always define (or at least popularize) a new trend, which then storms the world and everyone copies it To the loss of everyone. This is the same company that introduced disappearing scrollbars, just one of many dumb design decisions. What modern design seems to forget, is that at the end of the day, people actually want to USE the interfac…

It’s quite ironic that we have bigger, higher resolution screens than ever before, and yet we have eschewed visible controls and detail/texture in favour of minimalism and flat design.

I get why: design trends from mobile have moved upwards to desktops. But man, I find myself missing Leopard-era macOS design a lot lately.

Post reply on HN