Live data from Hacker News

Fluid Glass

chiuhans111.github.io

71–80 of 125 posts

Re: Fluid Glass

#72

Earlier quoted context omitted.

My guess is a reaction diffusion simulation

Yeah the code has a (somewhat rudimentary) fluid sim that's fed into reaction-diffusion. Pretty cool, don't think I've seen that combination before

I happened to have just finished writing a thesis on such a combination. The size of the little droplets is determined by the chemical wavelength of the reaction-diffusion subsystem. There’s a nice video and a pdf here: https://maximzuriel.nl/dynamics-and-pattern-formation-in-act...

Re: Fluid Glass

#74
post #48

Despite the liquid glass discussion … I am absolutely impressed how smooth this runs on a phone.

Yeah was also expecting my phone to get very toasty but it did not. Great job!

I noticed this pattern that a page with some text and images is often too demanding for my phone: it becomes impossible to scroll the page smoothly. We simply do not have the technology yet to handle text and images in a consistent way! But anything involving 3D graphics (or 4K video) will run just fine.

Re: Fluid Glass

#76
post #62

Earlier quoted context omitted.

Why? React is much better than Vue in my experience. Vue 2 was so bad we ended up painfully porting an entire election app to react at a previous job.

svelte's better than both : ^ ) (someone continue this with framework x) but seriously, I'm very interested to hear your gripes with Vue that were solved by react, since the latter feels much worse DX-wise than both Vue or Svelte, notwithstanding worse performance as well.

Lit-html is better than all frameworks :)

Re: Fluid Glass

#78
post #77

Most disgusting design trend. I hope the Vista look that has been re-popularized by Apple dies soon.

Vista, or rather Aero, never looked anything like this. It's glassy and translucent but that's where the similarity ends. The way the translucency itself is used is vastly different.

But also, yes, I agree. It didn't need to make a comeback. And even if it did, since iOS and macOS were already fairly translucent, it didn't need to be like this.

Re: Fluid Glass

#79
post #48

Despite the liquid glass discussion … I am absolutely impressed how smooth this runs on a phone.

Refraction is not as expensive as people would led you to believe. That said, this demo is ran at a very low resolution. Probably because it doesn't take devicePixelRatio into account. On my phone that's 3.5 so more than 12 times less pixels than would be required if you want crisp UI.

Re: Fluid Glass

#80
post #28

Earlier quoted context omitted.

On what hardware? Runs well on my Pixel 7a. It's likely just a fancy pixel shader (or few).

Compaq Presario from 2003 running XP on Internet Explorer, why? Jokes aside my Pixel 8 Pro handles it just fine as well

Many Pixels on this site apparently (me included). Is it a GrapheneOS thing or do people just prefer Google's hardware nowadays?
Post reply on HN