Live data from Hacker News

WebGL Water

madebyevan.com

81–90 of 119 posts

Re: WebGL Water

#81
post #78
post #42

I just went through comments from all the times this has been reposted in the past 10 years, and this is (so far) the first time there aren't any complaints about not working in their browser! I'm counting just the submissions that got >10 comments. The previous time, from 2017[1], was already quite good - there was only a single complaint, and that was about someone missing a WebGL extension this needs for floating…

Getting: "Uncaught Error: This demo requires the OES_texture_float extension" That's a Mozilla browser on Android though.

I think it's your phone, not software. Got it working on Mozilla @ Xiaomi Mi 8, quite dated model.

Re: WebGL Water

#82
post #9
post #7

This works on my iPhone in chrome. I really like that. I am aware of the fact that it’s old. The fact that it still works in chrome on my phone makes it more awesome. I’m sure it’s probably elegant and awesome under the hood to make that work. Going to take this positive feeling, eat and ice cream bar, rub my tummy, watch some Babylon 5 and go to sleep with all of these happy feels. :)

It doesn’t matter that you are using chrome. All browsers on iOS use safari under the hood.

Yikes.

It's really no big deal to provide that detail even if it transpires to be irrelevant.

Re: WebGL Water

#83

It's interesting to think of the reasons we don't have browser-based 3D renderers. Sure, WebGL exists. But it seems like the promise fizzled out, and I'm not quite sure why. Maybe it's as simple as "Steam is the money pipeline, and everyone makes native games on Steam."

The browser is not an appropriate medium for games that need non trivial access to local storage and system input. Browser compatibility, and being subordinate to multiple third parties isn't great, either. Rather than fighting with browser limitations, it's easier to package, deliver, and maintain a stand-alone application. Steam isn't a major consideration once you've gone into the weeds of implementing software th…

This is changing. Browser has 0 friction distribution and security advantage other mediums don't have

Re: WebGL Water

#84
post #13

Earlier quoted context omitted.

Easy, so many reasons beyond just blaming Apple, - WebGL is a subset of ES 3.0, when the hardware can do GL ES 3.2 - WebGPU, when it arrives sometime during 2022, it will be a 1.0 MVP of the features from Metal, Vulkan and DX 12, with yet another shading language that looks like a mix of C++/HLSL/Rust, WGSL. - If you just want compute, now WebGPU is the only option, although GL ES 3.2 has it. After two failed attempt…

Chrome and Safari both have WebGL debuggers that let you see all the API calls made IIRC. It's not RenderDoc but it's not that bad?

Chrome certainly doesn't have such thing unless you mean SpectorJS, yes it is bad, it is pre-historic compared with something like RenderDoc and Pix, which can on Pix's case, I can even single step and set breakpoints on shader code.

Re: WebGL Water

#85

It's interesting to think of the reasons we don't have browser-based 3D renderers. Sure, WebGL exists. But it seems like the promise fizzled out, and I'm not quite sure why. Maybe it's as simple as "Steam is the money pipeline, and everyone makes native games on Steam."

As a gamer, Steam is about way more than mere distribution. It's a community: discussions, chat, friends, voice chat, screen share, remote play over the internet, cloud saves, sales, filters, betas, tags, mods, library management, matchmaking, etc. It's way better at those things than Epic Store, GOG, Microsoft or Apple or Google stores. Valve has been evolving it as a platform for decades and its competitors just ar…

And streaming technologies have a big advantage, they can take full advantage of modern hardware without any sort of driver issues on the client side blacklisting the page.

Re: WebGL Water

#86
post #85

Earlier quoted context omitted.

As a gamer, Steam is about way more than mere distribution. It's a community: discussions, chat, friends, voice chat, screen share, remote play over the internet, cloud saves, sales, filters, betas, tags, mods, library management, matchmaking, etc. It's way better at those things than Epic Store, GOG, Microsoft or Apple or Google stores. Valve has been evolving it as a platform for decades and its competitors just ar…

And streaming technologies have a big advantage, they can take full advantage of modern hardware without any sort of driver issues on the client side blacklisting the page.

Yeah, now just waiting for the last mile connections to catch ip Maybe another decade or so...

WiFi is also still not up to par just quite yet. Maybe wifi 6?

Re: WebGL Water

#87
post #61
post #52

Earlier quoted context omitted.

I replied almost at the same time as yours and my phone is galaxy a32 and getting the same error message as yours.

It works in Firefox on my a32

Yes. By seeing your comment, I just installed firefox and tested.It works fine.

Re: WebGL Water

#88
So the cool thing about this demo was that I remember when it was first submitted many years ago and thought it a cool demo that demonstrated the viability of WebGL which I expected to take off a lot quicker than it has.

But I also recently came across madebyevan.com again by accident after researching the backing of different npm projects to assess which ones had good momentum or commercial backing behind them to assess their long-term viability, and noticed a lot of npm projects (~2M weekly) relying on esbuild [1] as a fundamental part of their build system due to its amazing performance [1].

All good except that the foundational part of many npm projects feature is mostly being maintained by a single developer [2], a @evanw who was also prolific in responding to esbuild's issue catering for different peoples issues & feature requests. I didn't think this level of investment in a popular OSS project was sustainable and hoped they had good sponsorship behind them, but was surprised that @evanw [3] didn't have sponsorships enabled which I thought strange as most authors of popular npm projects have good sponsorship, but upon further research it's because Evan Wallace's day job is as the CTO and cofounder of Figma - a popular company with ~10B valuation.

Which is great in that esbuild isn't at risk of being sporadically abandoned from its lead developer joining a new/demanding startup, on the other hand a foundational project in npm's ecosystem is being developed in the spare time of a Co-founder & CTO of a ~10B Co - who also creates great demos :)

[1] https://github.com/evanw/esbuild

[2] https://github.com/evanw/esbuild/graphs/contributors

[3] https://github.com/evanw

Re: WebGL Water

#89
post #88

So the cool thing about this demo was that I remember when it was first submitted many years ago and thought it a cool demo that demonstrated the viability of WebGL which I expected to take off a lot quicker than it has. But I also recently came across madebyevan.com again by accident after researching the backing of different npm projects to assess which ones had good momentum or commercial backing behind them to as…

Obligatory XKCD: https://xkcd.com/2347/

Re: WebGL Water

#90
post #54
post #42

I just went through comments from all the times this has been reposted in the past 10 years, and this is (so far) the first time there aren't any complaints about not working in their browser! I'm counting just the submissions that got >10 comments. The previous time, from 2017[1], was already quite good - there was only a single complaint, and that was about someone missing a WebGL extension this needs for floating…

It's terribly slow on my Monterey OSX Safari, yet flawless on Chrome.

Flawless on iOS 15 Safari
Post reply on HN