Chris Banes

2.2K Followers
98 Following
230 Posts
Composer of the pixels.
Websitehttps://chrisbanes.me
GitHubhttps://github.com/chrisbanes

💠 Haze 1.6.0 has been released!

This is a big release:
🤖 Blurring for all versions of Android
🎨 Foreground (content) blurring
📐 Blurred edge treatment

🔗: https://github.com/chrisbanes/haze/releases/tag/1.6.0

Release 1.6.0 · chrisbanes/haze

🤖 Support for all versions of Android Haze now supports blurring for all versions of Android, using RenderScript underneath. The new platforms documentation has all of the details. ...

GitHub

💠 Haze 1.6.0-beta01 has been released!

🐛: Android 12 is now enabled by default
🤖: Experimental blurring support for all Android versions

The video below is recorded on a Pixel 3 running Android 11, but it works back to Android 5. Please give it a try and report back!

🔗: https://github.com/chrisbanes/haze/releases/tag/1.6.0-beta01

Release 1.6.0-beta01 · chrisbanes/haze

🆕 Support for all Android devices We now support for older Android versions, using an implementation of blurring which uses RenderScript. You can read the new Platforms documentation for more infor...

GitHub

Had a little hack getting Haze working on older Android devices.

It uses RenderScript, so is never going to be real-time, but the lag isn't too bad. Everything is performed asynchronously, so this isn't jank.

I'm undecided whether to keep going with it. Let me know if this would be useful to you.

💠 Haze 1.2.0 has been released

The big change in this release is that it now supports overlapping blurred areas.

🔗: https://github.com/chrisbanes/haze/releases/tag/1.2.0

Release 1.2.0 · chrisbanes/haze

What's new API renames I have renamed a number of the APIs in this release to better reflect what they actually do these days: Modifier.haze -> Modifier.hazeSource Modifier.hazeChild -> Modifier.h...

GitHub

💠 Here's a sneak preview of something that I've been working on in Haze: overlapping areas

With this you'll be able to implement those classic glassmorphic card effects. I still need to run the performance benchmarks, but it seems to be working nicely...

🔗: https://github.com/chrisbanes/haze/pull/441

Add support for multiple Haze nodes attached to a HazeState by chrisbanes · Pull Request #441 · chrisbanes/haze

This PR adds in support for multiple Modifier.haze nodes attached to a HazeState. This means that there can be N haze nodes, and N hazeChild nodes attached to a state. This has a number of use case...

GitHub

Haze 1.1 💠 has been released!

The main change is the new 'Input Scale' parameter, which allows you to set an optional (down)scaling mode. This should have a positive effect on performance when enabled.

https://github.com/chrisbanes/haze/releases/tag/1.1.0

Release 1.1.0 · chrisbanes/haze

🆕 Input Scale A new feature in this release is being able to set the input scale. This should have a positive effect on performance when turned on. What's Changed Update dependency gradle to v8.11...

GitHub

After what feels like a lifetime of development, I've decided to deprecate and archive Tivi 🫡

https://github.com/chrisbanes/tivi

GitHub - chrisbanes/tivi: Tivi is a TV show tracking Android app, which connects to trakt.tv

Tivi is a TV show tracking Android app, which connects to trakt.tv - chrisbanes/tivi

GitHub

Haze 0.9.0-beta04 has been released!

Progressive (gradient) blurring and new styling APIs. Nearly there for final release, just got some performance work to do.

https://github.com/chrisbanes/haze/releases/tag/0.9.0-beta04

Release 0.9.0-beta04 · chrisbanes/haze

What's changed Compose Multiplatform 1.7.0 CMP 1.7.0 has gone stable. Go and upgrade. Progressive blurs (aka gradient blurs) We now have access to progressive blurring. progressi...

GitHub

Here's a sneak preview of something that I've been working on in Haze...

✨ Progressive Blur ✨

I'm still working out the kinks (and an API), but as a proof of concept I think it works really well. Hoping to get it in for the next release.

This may not look like much, but this is the re-written Haze in action.

The big difference is that blurred areas are now drawn by the child, not the parent. This means that we automatically take part in translations, scales, etc, in ancestors.

An obvious place where this is visible is Android’s overscroll effect. We now stretch *with* the content, unlike the current version where nothing happens.

Hoping to get an alpha out soon.